2 <html class=
"reftest-wait">
4 <div style=
"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>
10 var o
= document
.getElementById("o");
11 var d
= document
.getElementById("d");
12 document
.body
.getBoundingClientRect();
13 o
.style
.opacity
= 0.8;
15 o
.style
.opacity
= 0.9;
16 document
.body
.getBoundingClientRect();
17 d
.style
.background
= "green";
18 document
.documentElement
.removeAttribute("class");
20 window
.addEventListener("MozReftestInvalidate", doTest
);