OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <style> | |
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; } | |
9 </style> | |
10 <script> | |
11 if (window.testRunner) | |
12 testRunner.dumpAsText(); | |
13 if (window.internals) | |
14 internals.settings.setRegionBasedColumnsEnabled(true); | |
15 | |
16 onload = function() { | |
17 test0 = document.createElement('div'); | |
18 test0.setAttribute('id', 'test0'); | |
19 document.body.appendChild(test0); | |
20 test1 = document.createElement('div'); | |
21 test1.setAttribute('id', 'test1'); | |
22 test0.appendChild(test1); | |
23 test2 = document.createElement('div'); | |
24 test2.setAttribute('id', 'test2'); | |
25 test1.appendChild(test2); | |
26 test3 = document.createElement('span'); | |
27 test1.appendChild(test3); | |
28 test3.appendChild(document.createTextNode('A')); | |
29 test4 = document.createElement('table'); | |
30 test4.setAttribute('id', 'test4'); | |
31 test1.appendChild(test4); | |
32 test0.style.display = 'run-in'; | |
33 test4.style.display = 'table-column'; | |
34 document.body.offsetTop; | |
35 document.designMode = 'on'; | |
36 document.execCommand('selectall'); | |
37 document.execCommand('inserttext', ''); | |
38 document.body.offsetTop; | |
39 document.body.innerHTML = "PASS"; | |
40 } | |
41 </script> | |
42 </head> | |
43 <body> | |
44 </body> | |
45 </html> | |
OLD | NEW |