blob: 97bb9536e80e80a6a776c2ad61e148b25397a975 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
<style>
.testclass::before { position: absolute; content: ""; }
.testclass { display: run-in; }
</style>
PASS, if no exceptions or crash observed
<script>
function runTest()
{
test1 = document.createElement('div');
test1.setAttribute('class', 'testclass');
document.documentElement.appendChild(test1);
test2 = document.createElement('b');
test2.setAttribute('class', 'testclass');
document.documentElement.appendChild(test2);
test3 = document.createElement('div');
document.documentElement.appendChild(test3);
if (window.testRunner)
testRunner.dumpAsText();
}
window.onload = runTest;
</script>
|