layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionN.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 id="parent" class="reftest-wait">
     3   <head>
     4     <link rel="stylesheet" type="text/css" href="style.css">
     5     <script src="../handleprop.js" type="text/javascript"></script>
     6     <style>
     7       #child {
     8         width: 100px;
     9         height: 100px;
    10         left: 100px;
    11         top: 100px;
    12       }
    13     </style>
    14     <script src="../horizontal/animate.js" type="text/javascript"></script>
    15     <script type="text/javascript">
    16       var counter = 0;
    17       function play() {
    18         if (counter < 100) {
    19           var child = document.getElementById("child");
    20           child.style.left = (parseInt(getComputedStyle(child, null).left.replace("px", "")) + 20) + "px";
    21           child.style.top = (parseInt(getComputedStyle(child, null).top.replace("px", "")) + 10) + "px";
    22           rfa(play);
    23           counter += 10;
    24         } else {
    25           document.documentElement.removeAttribute("class");
    26         }
    27       }
    29       window.onload = function() { rfa(play) };
    30     </script>
    31   </head>
    32   <body>
    33     <div id="child">
    34       <div class="floatLeft"></div>
    35       <div class="floatLeft"></div>
    36     </div>
    37   </body>
    38 </html>

mercurial