layout/reftests/bugs/728983-1-ref.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:green; 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.documentElement.removeAttribute("class");
    17 }
    18 window.addEventListener("MozReftestInvalidate", doTest, false);
    19 </script>
    20 </body>
    21 </html>

mercurial