OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 Test passes if it does not crash. | 4 Test passes if it does not crash. |
5 <style> | 5 <style> |
6 .caption1 { -webkit-column-width: 1px; } | 6 .caption1 { -webkit-column-width: 1px; } |
7 .div1 { position: absolute; } | 7 .div1 { position: absolute; } |
8 .keygen1:nth-last-child(even) { display: block; -webkit-column-span: all; } | 8 .keygen1:nth-last-child(even) { display: block; -webkit-column-span: all; } |
9 .flexbox1 { display: -webkit-flexbox; padding-right: 10px; -webkit-transform: ro
tate3d(0, 1, 0, 90deg); } | 9 .flexbox1 { display: -webkit-flexbox; padding-right: 10px; -webkit-transform: ro
tate3d(0, 1, 0, 90deg); } |
10 </style> | 10 </style> |
11 <script> | 11 <script> |
| 12 if (window.internals) |
| 13 internals.settings.setRegionBasedColumnsEnabled(true); |
12 if (window.testRunner) | 14 if (window.testRunner) |
13 testRunner.dumpAsText(); | 15 testRunner.dumpAsText(); |
14 | 16 |
15 function runTest() { | 17 function runTest() { |
16 caption1 = document.createElement('caption'); | 18 caption1 = document.createElement('caption'); |
17 caption1.setAttribute('class', 'caption1'); | 19 caption1.setAttribute('class', 'caption1'); |
18 div1 = document.createElement('div'); | 20 div1 = document.createElement('div'); |
19 div1.setAttribute('class', 'div1'); | 21 div1.setAttribute('class', 'div1'); |
20 flexbox1 = document.createElement('div'); | 22 flexbox1 = document.createElement('div'); |
21 flexbox1.setAttribute('class', 'flexbox1'); | 23 flexbox1.setAttribute('class', 'flexbox1'); |
(...skipping 10 matching lines...) Expand all Loading... |
32 document.body.appendChild(caption1); | 34 document.body.appendChild(caption1); |
33 document.body.offsetTop; | 35 document.body.offsetTop; |
34 flexbox1.appendChild(div2); | 36 flexbox1.appendChild(div2); |
35 document.body.offsetTop; | 37 document.body.offsetTop; |
36 flexbox1.removeChild(div1); | 38 flexbox1.removeChild(div1); |
37 } | 39 } |
38 window.onload = runTest; | 40 window.onload = runTest; |
39 </script> | 41 </script> |
40 </body> | 42 </body> |
41 </html> | 43 </html> |
OLD | NEW |