2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / css2.1 / t1001-abs-pos-cb-06-b.html
blob01299d25842d43ed04ff469c51d6d2e29e296f68
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html>
3 <head>
4 <title>CSS 2.1 Test Suite: Containing block for absolute positioning</title>
5 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details">
6 <style type="text/css">
7 html { margin: 0; padding: 0; width: 100%; height: 100%; position: relative; }
8 body { background: red; margin: 100px 20%; } /* background propagates up to html and then canvas */
9 div { background: white; color: green; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
10 </style>
11 </head>
12 <body>
13 <div>
14 There should be no red on this page.
15 </div>
16 </body>
17 </html>