OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <script> | 3 <script> |
4 if (window.layoutTestController) | 4 if (window.layoutTestController) |
5 layoutTestController.dumpAsText(); | 5 layoutTestController.dumpAsText(); |
6 | 6 |
7 function runTest() { | 7 function runTest() { |
8 var container = document.createElement('div'); | 8 var container = document.createElement('div'); |
9 container.style['-webkit-column-count'] = 1; | 9 container.style['-webkit-column-count'] = 1; |
10 document.body.appendChild(container); | 10 document.body.appendChild(container); |
11 var test1 = document.createElement('div'); | 11 var test1 = document.createElement('div'); |
12 test1.style['-webkit-column-span'] = 'all'; | 12 test1.style['-webkit-column-span'] = 'all'; |
13 container.appendChild(test1); | 13 container.appendChild(test1); |
14 var test2 = document.createElement('span'); | 14 var test2 = document.createElement('span'); |
15 container.appendChild(test2); | 15 container.appendChild(test2); |
16 test2.appendChild(document.createElement('div')); | 16 test2.appendChild(document.createElement('div')); |
17 var test3 = document.createElement('div'); | 17 var test3 = document.createElement('div'); |
18 test3.style.display = 'table-column'; | 18 test3.style.display = 'table-column'; |
19 container.appendChild(test3); | 19 container.appendChild(test3); |
20 container.appendChild(document.createElement('div')); | 20 container.appendChild(document.createElement('div')); |
21 } | 21 } |
22 </script> | 22 </script> |
23 </head> | 23 </head> |
24 <body onload="runTest()"> | 24 <body onload="runTest()"> |
25 Test passes if it does not crash. | 25 Test passes if it does not crash. |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |