1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Background propagation on <body> and <html> - propagated position</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
6 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/background/09.html" type="text/html">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background">
8 <meta name="flags" content="image">
9 <style type="text/css">
10 body { border: solid lime; background: green url(support/square-purple.png) no-repeat 50% 50%; color: white; }
11 html { border: solid blue; background: transparent; color: yellow; }
12 :link, :visited { color: inherit; background: transparent; }
13 * { margin: 1em; padding: 1em; }
14 </style>
15
16 </head>
17 <body>
18 <p> In the middle of the bright blue rectangle, there
19 should be a purple tile. Resizing the window should make its
20 position relative to this outer box stay the same.
21
22 </p></body>
23 </html>