OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <body> | |
4 <style> | |
5 #test0 { -webkit-columns: 1px; } | |
6 #test1 { -webkit-perspective: 1; display: compact; } | |
7 #test1:before { content: ""; } | |
8 #test1:after { display: table; content: ""; } | |
9 #test2 { -webkit-column-span: all; } | |
10 #test4:last-child { position:fixed; } | |
11 .c0 { display: table-header-group; } | |
12 .c1:first-letter { content: ""; } | |
13 </style> | |
14 <script> | |
15 if (window.testRunner) | |
16 testRunner.dumpAsText(); | |
17 | |
18 onload = function() { | |
19 test0 = document.createElement('div'); | |
20 test0.setAttribute('id', 'test0'); | |
21 document.body.appendChild(test0); | |
22 test1 = document.createElement('div'); | |
23 test1.setAttribute('id','test1'); | |
24 test0.appendChild(test1); | |
25 test2 = document.createElement('div'); | |
26 test2.setAttribute('id','test2'); | |
27 test1.appendChild(test2); | |
28 test3 = document.createElement('span'); | |
29 test1.appendChild(test3); | |
30 test4 = document.createElement('div'); | |
31 test4.setAttribute('id', 'test4'); | |
32 test3.appendChild(test4); | |
33 document.body.offsetTop; | |
34 test2.setAttribute('class', 'c0'); | |
35 test4.setAttribute('class', 'c1'); | |
36 document.body.offsetTop; | |
37 document.body.innerHTML = "WebKit Bug - Crash in multi-column layout.<br />P
ASS. WebKit didn't crash."; | |
38 } | |
39 </script> | |
40 </body> | |
41 </html> | |
OLD | NEW |