layout/reftests/bugs/243519-1-ref.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE HTML>
     2 <html>
     3 <head>
     4 <title>CSS 2.1 Test Suite: Test for containing block for absolutely positioned elements being initial containing block</title>
     5 <link rel="author" title="Robert O'Callahan" href="mailto:robert@ocallahan.org" />
     6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     7 <style>
     8 body { margin:0; }
     9 .pos { position:absolute; width:100px; height:100px; }
    10 </style>
    11 </head>
    12 <body>
    13 <div style="height:10000px; margin:0; margin:10px; border:20px solid black; padding:30px;"></div>
    14 <script>
    15 window.scrollTo(0,50);
    16 </script>
    17 <div class="pos" style="top:0; left:60px; background:yellow;"></div>
    18 <div class="pos" style="right:0; top:60px; background:orange;"></div>
    19 <div class="pos" style="bottom:0; left:60px; background:brown;"></div>
    20 <div class="pos" style="left:0; top:60px; background:pink;"></div>
    21 </div>
    22 </body>
    23 </html>

mercurial