2 <html class=
"reftest-wait">
5 <p id=
"first">f
<span>o
</span>o
</p>
8 document
.body
.offsetTop
;
9 var p1
= document
.getElementById("first");
10 var p2
= document
.getElementById("second");
11 var selection
= window
.getSelection();
12 selection
.setBaseAndExtent(p1
.firstChild
, 0, p1
.childNodes
.item(1).firstChild
, 1);
15 selection
.extend(p2
.firstChild
, 2);
16 document
.documentElement
.removeAttribute('class');
18 document
.addEventListener("MozReftestInvalidate", doTest
);