layout/reftests/bugs/728983-1-ref.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/728983-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html class="reftest-wait">
     1.6 +<body>
     1.7 +<div style="-moz-column-count:2; column-count:2; width:300px; height:100px;">
     1.8 +  <div id="o" style="opacity:0.5; width:100px; height:200px; background:lime;">
     1.9 +	<div id="d" style="height:50px; width:80px; background:green; padding:2px">Text</div>
    1.10 +  </div>
    1.11 +</div>
    1.12 +<script>
    1.13 +var o = document.getElementById("o");
    1.14 +var d = document.getElementById("d");
    1.15 +document.body.getBoundingClientRect();
    1.16 +o.style.opacity = 0.8;
    1.17 +function doTest() {
    1.18 +  o.style.opacity = 0.9;
    1.19 +  document.documentElement.removeAttribute("class");
    1.20 +}
    1.21 +window.addEventListener("MozReftestInvalidate", doTest, false);
    1.22 +</script>
    1.23 +</body>
    1.24 +</html>

mercurial