2 .c2:after { float: left; content:
"A"; }
4 PASS, if the script does not cause a crash or ASSERT failure
6 function endTest(childSpan
) {
7 childSpan
.appendChild(divToInsert
);
9 testRunner
.notifyDone();
11 function startTest() {
12 quoteNode
= document
.createElement('q');
13 document
.documentElement
.appendChild(quoteNode
);
14 divToInsert
= document
.createElement('div');
15 parentSpan
= document
.createElement('span');
16 parentSpan
.setAttribute('class', 'c2');
17 childSpan
= document
.createElement('span');
18 parentSpan
.appendChild(childSpan
);
19 document
.documentElement
.appendChild(parentSpan
);
20 setTimeout('endTest(childSpan);', 50);
21 if (window
.testRunner
) {
22 testRunner
.waitUntilDone();
23 testRunner
.dumpAsText();
26 window
.onload
= startTest
;