3 if (window
.testRunner
) {
4 testRunner
.waitUntilDone();
5 testRunner
.dumpAsText();
10 .c8:nth-last-of-type(
2n+
1) { float: right;}
13 // This test will crash if we leave stale floats in a child's descendants.
15 function reference(domNode
) {
16 this.domNode
= domNode
;
18 function walk(a
, currentPrefix
, index
, domNode
) {
21 newPrefix
= currentPrefix
+ "_" + index
;
22 a
[newPrefix
] = new reference(domNode
);
26 walk(a
, "", 0, document
.documentElement
);
28 a
[key
].domNode
.parentNode
.removeChild(a
[key
].domNode
);
30 if (window
.testRunner
)
31 testRunner
.notifyDone();
34 nodes
[0] = document
.createElement('meter');
35 nodes
[0].setAttribute('class', 'c7');
36 document
.documentElement
.appendChild(nodes
[0]);
37 nodes
[58] = document
.createElement('br');
38 document
.documentElement
.appendChild(nodes
[58]);
39 nodes
[63] = document
.createElement('h1');
40 nodes
[63].setAttribute('class', 'c8');
41 document
.documentElement
.appendChild(nodes
[63]);
42 nodes
[66] = document
.createElement('iframe');
43 nodes
[66].setAttribute('srcdoc', '');
44 document
.documentElement
.appendChild(nodes
[66]);
45 nodes
[72] = document
.createElement('sup');
46 nodes
[72].setAttribute('class', 'c7');
47 document
.documentElement
.appendChild(nodes
[72]);
48 setTimeout('clear();', 700);