2 <html class=
"reftest-wait">
3 <title>reftest, bug
1133392</title>
6 p:not(.state-one)
> span {
7 text-decoration: underline;
14 p:not(.state-three)
> span
> span {
20 <p class=
"state-one"><span>This text
<br>
21 has
<span>an underline
</span>.
</span></p>
25 var p
= document
.getElementsByTagName("p")[0];
26 p
.offsetLeft
; // flush layout
27 document
.getElementsByTagName('p')[0].className
= 'state-two';
29 document
.addEventListener("MozReftestInvalidate", step_three
);
30 function step_three(event
) {
31 document
.getElementsByTagName('p')[0].className
= 'state-three';
32 document
.documentElement
.classList
.remove("reftest-wait");