OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <body> | |
4 <style> | |
5 #columnContainer { -webkit-column-count: 600; } | |
6 #divBlock::after { display: block; content: ''; } | |
7 #columnSpanBlock:nth-last-child(even) { -webkit-column-span: all; } | |
8 #table { float: right; } | |
9 </style> | |
10 <script> | |
11 if (window.testRunner) | |
12 testRunner.dumpAsText(); | |
13 | |
14 onload = function() { | |
15 columnContainer = document.createElement('div'); | |
16 columnContainer.setAttribute('id', 'columnContainer'); | |
17 document.body.appendChild(columnContainer); | |
18 divBlock = document.createElement('div'); | |
19 divBlock.setAttribute('id', 'divBlock'); | |
20 columnContainer.appendChild(divBlock); | |
21 columnSpanBlock = document.createElement('div'); | |
22 columnSpanBlock.setAttribute('id', 'columnSpanBlock'); | |
23 divBlock.appendChild(columnSpanBlock); | |
24 span = document.createElement('span'); | |
25 divBlock.appendChild(span); | |
26 span.appendChild(document.createTextNode('A')); | |
27 table = document.createElement('table'); | |
28 table.setAttribute('id', 'table'); | |
29 divBlock.appendChild(table); | |
30 document.designMode = 'on'; | |
31 document.execCommand('selectall'); | |
32 document.execCommand('inserttext', ''); | |
33 document.body.offsetTop; | |
34 document.body.innerHTML = "PASS. WebKit didn't crash."; | |
35 } | |
36 </script> | |
37 </body> | |
38 </html> | |
OLD | NEW |