1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3
4 <head>
5
6 <title>CSS Test: Background - background on root propagates to canvas</title>
7
8 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
9 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
10 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-display">
11 <meta content="" name="flags">
12 <meta content="Background set on root element should cover the canvas" name="assert">
13
14 <style type="text/css">
15 html
16 {
17 background-color: blue;
18 display: table;
19 width: 500px;
20 }
21
22 body
23 {
24 background-color: lime;
25 margin: 100px;
26 }
27 </style>
28
29 </head>
30
31 <body>
32
33 <p>The whole area of this page should be blue and only this text should be in a bright green box.</p>
34
35 </body>
36 </html>