OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html> | |
3 <body> | |
4 Test passes if it does not crash. | |
5 <style> | |
6 .columns | |
7 { | |
8 -webkit-column-count: 2; | |
9 -webkit-column-span: all; | |
10 } | |
11 .list | |
12 { | |
13 display: list-item; | |
14 } | |
15 </style> | |
16 <script> | |
17 if (window.testRunner) | |
18 testRunner.dumpAsText(); | |
19 | |
20 list = document.createElement('p'); | |
21 list.setAttribute('class', 'list'); | |
22 listChild = document.createElement('hr'); | |
23 list.appendChild(listChild); | |
24 list.appendChild(document.createTextNode('Text.')); | |
25 outerColumns = document.createElement('div'); | |
26 outerColumns.appendChild(list); | |
27 document.body.appendChild(outerColumns); | |
28 outerColumns.setAttribute('class', 'columns'); | |
29 document.body.offsetTop; | |
30 | |
31 innerColumns = document.createElement('div'); | |
32 innerColumns.setAttribute('class', 'columns'); | |
33 listChild.appendChild(innerColumns); | |
34 document.body.offsetTop; | |
35 | |
36 document.body.removeChild(outerColumns); | |
37 </script> | |
38 </body> | |
39 </html> | |
OLD | NEW |