OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
| 3 <script> |
| 4 if (window.internals) |
| 5 internals.settings.setRegionBasedColumnsEnabled(true); |
| 6 </script> |
3 <body> | 7 <body> |
4 Test passes if it does not crash. | 8 Test passes if it does not crash. |
5 <style> | 9 <style> |
6 .table_span { -webkit-column-span: all;} | 10 .table_span { -webkit-column-span: all;} |
7 .table_container { -webkit-column-count: 2; } | 11 .table_container { -webkit-column-count: 2; } |
8 </style> | 12 </style> |
9 <script> | 13 <script> |
10 if (window.testRunner) | 14 if (window.testRunner) |
11 testRunner.dumpAsText(); | 15 testRunner.dumpAsText(); |
12 | 16 |
13 document.body.offsetTop; | 17 document.body.offsetTop; |
14 table_span = document.createElement('table'); | 18 table_span = document.createElement('table'); |
15 table_span.setAttribute('class', 'table_span'); | 19 table_span.setAttribute('class', 'table_span'); |
16 table_container = document.createElement('table'); | 20 table_container = document.createElement('table'); |
17 table_container.setAttribute('class', 'table_container'); | 21 table_container.setAttribute('class', 'table_container'); |
18 table_caption = document.createElement('caption'); | 22 table_caption = document.createElement('caption'); |
19 table_caption.appendChild(table_span); | 23 table_caption.appendChild(table_span); |
20 table_container.appendChild(table_caption); | 24 table_container.appendChild(table_caption); |
21 document.body.appendChild(table_container); | 25 document.body.appendChild(table_container); |
22 document.body.offsetTop; | 26 document.body.offsetTop; |
23 | 27 |
24 table_caption.parentNode.removeChild(table_caption); | 28 table_caption.parentNode.removeChild(table_caption); |
25 </script> | 29 </script> |
26 </body> | 30 </body> |
27 </html> | 31 </html> |
OLD | NEW |