OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 #test1 { | |
6 text-indent: -1em; | |
7 content: counter(c); | |
8 -webkit-column-count: 1; | |
9 } | |
10 #test3 { | |
11 -webkit-column-span: all; | |
12 } | |
13 </style> | |
14 <script> | |
15 if (window.testRunner) | |
16 testRunner.dumpAsText(); | |
17 | |
18 function crash() { | |
19 test1 = document.createElement('div'); | |
20 test1.setAttribute('id', 'test1'); | |
21 document.body.appendChild(test1); | |
22 test2 = document.createElement('div'); | |
23 test1.appendChild(test2); | |
24 test3 = document.createElement('div'); | |
25 test3.setAttribute('id', 'test3'); | |
26 test2.appendChild(test3); | |
27 test2.appendChild(document.createTextNode('A')); | |
28 test2.style.display = '-webkit-box'; | |
29 document.body.offsetTop; | |
30 test3.style.display = 'list-item'; | |
31 document.body.offsetTop; | |
32 document.body.style.zoom = 2; | |
33 } | |
34 window.onload = crash; | |
35 </script> | |
36 </head> | |
37 <body> | |
38 Test passes if it does not crash. | |
39 </body> | |
40 </html> | |
OLD | NEW |