OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #test0 { -webkit-column-width: 1px; } | |
6 #test2::after { display: compact; content: ''; } | |
7 #test3 { content: counter(c); -webkit-column-span: all; } | |
8 </style> | |
9 <script> | |
10 if (window.testRunner) | |
11 testRunner.dumpAsText(); | |
12 | |
13 onload = function() { | |
14 test0 = document.createElement('div'); | |
15 test0.setAttribute('id', 'test0'); | |
16 document.body.appendChild(test0); | |
17 test1 = document.createElement('div'); | |
18 test0.appendChild(test1); | |
19 test2 = document.createElement('div'); | |
20 test2.setAttribute('id', 'test2'); | |
21 test1.appendChild(test2); | |
22 test3 = document.createElement('div'); | |
23 test3.setAttribute('id', 'test3'); | |
24 test2.appendChild(test3); | |
25 test2.appendChild(document.createTextNode('A')); | |
26 document.designMode = 'on'; | |
27 document.execCommand('selectall'); | |
28 document.body.offsetTop; | |
29 document.body.innerHTML = "WebKit Bug - Crash in multi-column layout.<br />P
ASS. WebKit didn't crash."; | |
30 } | |
31 </script> | |
32 </head> | |
33 <body> | |
34 </body> | |
35 </html> | |
OLD | NEW |