2 .testclass::before { position: absolute; content:
""; }
3 .testclass { display: run-in; }
5 PASS, if no exceptions or crash observed
9 test1
= document
.createElement('div');
10 test1
.setAttribute('class', 'testclass');
11 document
.documentElement
.appendChild(test1
);
12 test2
= document
.createElement('b');
13 test2
.setAttribute('class', 'testclass');
14 document
.documentElement
.appendChild(test2
);
15 test3
= document
.createElement('div');
16 document
.documentElement
.appendChild(test3
);
17 if (window
.testRunner
)
18 testRunner
.dumpAsText();
20 window
.onload
= runTest
;