layout/reftests/position-dynamic-changes/relative/percent.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     <link rel="stylesheet" type="text/css" href="style.css">
     5   </head>
     6   <body>
     7     <div id="container" style="border-width: 10px; padding: 50px"
     8       >surrounding <span id="rel"
     9         style="left: 0; top: 0;"
    10         >position&#10;relative</span> text</div>
    11     <script>
    12       document.addEventListener("MozReftestInvalidate", function() {
    13         var rel = document.getElementById("rel");
    14         rel.style.top = "50%";
    15         rel.style.left = "50%";
    16         document.documentElement.removeAttribute("class");
    17       }, false);
    18     </script>
    19   </body>
    20 </html>

mercurial