OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 Test passes if it does not crash. | 3 Test passes if it does not crash. |
4 <style> | 4 <style> |
5 #div1 { -webkit-column-count: 2; } | 5 #div1 { -webkit-column-count: 2; } |
6 #q1 { display: block; } | 6 #q1 { display: block; } |
7 #q1::before { display: table-row; } | 7 #q1::before { display: table-row; } |
8 #div2 { -webkit-column-span: all; } | 8 #div2 { -webkit-column-span: all; } |
9 </style> | 9 </style> |
10 <script> | 10 <script> |
11 if (window.layoutTestController) | 11 if (window.layoutTestController) |
12 layoutTestController.dumpAsText(); | 12 layoutTestController.dumpAsText(); |
13 | 13 |
14 function runTest() | 14 function runTest() |
15 { | 15 { |
16 div1 = document.createElement('div'); | 16 div1 = document.createElement('div'); |
17 div1.setAttribute('id', 'div1'); | 17 div1.setAttribute('id', 'div1'); |
18 document.body.appendChild(div1); | 18 document.body.appendChild(div1); |
19 q1 = document.createElement('q'); | 19 q1 = document.createElement('q'); |
20 q1.setAttribute('id', 'q1'); | 20 q1.setAttribute('id', 'q1'); |
21 div1.appendChild(q1); | 21 div1.appendChild(q1); |
22 div2 = document.createElement('div'); | 22 div2 = document.createElement('div'); |
23 div2.setAttribute('id', 'div2'); | 23 div2.setAttribute('id', 'div2'); |
24 q1.appendChild(div2); | 24 q1.appendChild(div2); |
25 } | 25 } |
26 | 26 |
27 window.onload = runTest; | 27 window.onload = runTest; |
28 </script> | 28 </script> |
29 </html> | 29 </html> |
OLD | NEW |