layout/base/crashtests/243519-1.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

     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