layout/reftests/bugs/728983-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE HTML>
     2 <html class="reftest-wait">
     3 <body>
     4 <div style="-moz-column-count:2; column-count:2; width:300px; height:100px;">
     5   <div id="o" style="opacity:0.5; width:100px; height:200px; background:lime;">
     6 	<div id="d" style="height:50px; width:80px; background:red; padding:2px">Text</div>
     7   </div>
     8 </div>
     9 <script>
    10 var o = document.getElementById("o");
    11 var d = document.getElementById("d");
    12 document.body.getBoundingClientRect();
    13 o.style.opacity = 0.8;
    14 function doTest() {
    15   o.style.opacity = 0.9;
    16   document.body.getBoundingClientRect();
    17   d.style.background = "green";
    18   document.documentElement.removeAttribute("class");
    19 }
    20 window.addEventListener("MozReftestInvalidate", doTest, false);
    21 </script>
    22 </body>
    23 </html>

mercurial