abspos-containing-block-initial-004a

Test for containing block for absolutely positioned elements being initial containing block

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
If there is no such ancestor, the containing block is the initial containing block.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html style="position:absolute; left:100px; top:100px; width:100px; height:100px;              background:yellow; border:10px solid black;"><head><link rel="reference" href="abspos-containing-block-initial-004-ref.xht"><title>CSS Test: Test for containing block for absolutely positioned elements being initial containing block</title>
 3 <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org">
 4 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/">
 5 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#containing-block-details">
 6 <meta name="assert" content="If there is no such ancestor, the containing block is the initial containing block.">
 7 <meta name="flags" content="">
 8 </head><body>
 9 
10 
11 </body></html>