layout/reftests/floats/775350-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 xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     3 <head>
     4   <script>
     6 function handleLoad() {
     7   setTimeout(f1, 0);
     8 }
    10 function f1() {
    11   document.getElementById("inner").style.top = "100px";
    12   setTimeout(f2, 0);
    13 }
    15 function f2() {
    16   document.getElementById("top").style.display = "block";
    17   document.documentElement.removeAttribute("class");
    18 }
    20   </script>
    21 </head>
    22 <body onload="handleLoad()">
    23   <div id="top" style="display: none;"></div>
    24   <div>
    25     <div style="float: left; position: relative;">
    26       <div id="inner" style="display: block; top: 110px; width: 100px; height: 100px; background: pink; position:absolute;"></div>
    27     </div>
    28   </div>
    29 </body>
    30 </html>

mercurial