4 #test0 { -webkit-column-count:
2; }
5 #test1::after { display: block; content: ''; }
6 #test2:nth-last-child(
2n) { content: ''; }
7 #test2 { -webkit-column-span: all; }
8 #test4 { float: right; }
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
15 test0
= document
.createElement('div');
16 test0
.setAttribute('id', 'test0');
17 document
.body
.appendChild(test0
);
18 test1
= document
.createElement('div');
19 test1
.setAttribute('id', 'test1');
20 test0
.appendChild(test1
);
21 test2
= document
.createElement('div');
22 test2
.setAttribute('id', 'test2');
23 test1
.appendChild(test2
);
24 test3
= document
.createElement('span');
25 test1
.appendChild(test3
);
26 test3
.appendChild(document
.createTextNode('A'));
27 test4
= document
.createElement('table');
28 test4
.setAttribute('id', 'test4');
29 test1
.appendChild(test4
);
30 test0
.style
.display
= 'run-in';
31 test4
.style
.display
= 'table-column';
32 document
.body
.offsetTop
;
33 document
.designMode
= 'on';
34 document
.execCommand('selectall');
35 document
.execCommand('inserttext', '');
36 document
.body
.offsetTop
;
37 document
.body
.innerHTML
= "PASS";