2 <body onload=
"runTest();">
7 <span>aaaaaaaaaaaaa
</span>
9 function reference(domNode
)
11 this.domNode
= domNode
;
13 function walk(a
, currentPrefix
, index
, domNode
)
17 newPrefix
= currentPrefix
+ "_" + index
;
18 walk(a
, currentPrefix
, index
+ 1, domNode
.nextSibling
);
19 walk(a
, newPrefix
, 0, domNode
.firstChild
);
20 a
[newPrefix
] = new reference(domNode
);
22 function clearAllNodes()
25 walk(a
, "", 0, document
.body
);
28 document
.body
.offsetTop
;
29 a
[key
].domNode
.parentNode
.removeChild(a
[key
].domNode
);
33 var font
= document
.createElement('font');
34 document
.getElementById('wbr').appendChild(font
);
35 document
.body
.offsetTop
;
38 if (window
.testRunner
)
39 testRunner
.notifyDone();