layout/reftests/scrolling/uncovering-1.html

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <head>
     4 <style>
     5 body {
     6   width: 1500px;
     7   overflow: hidden;
     8 }
     9 div#bottom {
    10   position: fixed;
    11   left: 0;
    12   top: 0;
    13   height: 200px;
    14   width: 200px;
    15   background: green;
    16 }
    17 </style>
    18 </head>
    19 <body>
    20 <div id="bottom"></div>
    21 <div style="width:600px; height:100px; background:pink;"></div>
    22 <script>
    23 document.documentElement.scrollLeft = 200;
    24 function doTest() {
    25   document.documentElement.removeAttribute("class");
    26   document.documentElement.scrollLeft = 0;
    27 }
    28 window.addEventListener("MozReftestInvalidate", doTest, false);
    29 </script>
    30 </body>
    31 </html>

mercurial