layout/reftests/position-dynamic-changes/mixed-abspos-root/mixed-dimentionA.html

Wed, 31 Dec 2014 13:27:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 13:27:57 +0100
branch
TOR_BUG_3246
changeset 6
8bccb770b82d
permissions
-rw-r--r--

Ignore runtime configuration files generated during quality assurance.

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

mercurial