layout/base/crashtests/243519-1.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <!DOCTYPE HTML>
     2 <html>
     3 <body>
     4   <div style="position:absolute;">Hello</div>
     5   <div style="position:fixed;">Kitty</div>
     6   <script>
     7     document.body.offsetTop;
     8     document.documentElement.style.display = "table";
     9     document.body.offsetTop;
    10     document.documentElement.style.display = "";
    11     document.body.offsetTop;
    13     document.documentElement.style.position = "absolute";
    14     document.body.offsetTop;
    15     document.documentElement.style.display = "table";
    16     document.body.offsetTop;
    17     document.documentElement.style.display = "";
    18     document.body.offsetTop;
    20     document.documentElement.style.position = "fixed";
    21     document.body.offsetTop;
    22     document.documentElement.style.display = "table";
    23     document.body.offsetTop;
    24     document.documentElement.style.display = "";
    26     document.documentElement.style.position = "";
    27     document.body.offsetTop;
    28   </script>
    29 </body>
    30 </html>

mercurial