| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <style> | |
| 4 #test1 { -webkit-column-count: 1; } | |
| 5 #test2 { display: block; } | |
| 6 #test3::after { display: block; content: "A"; } | |
| 7 #test4 { -webkit-column-span: all; } | |
| 8 </style> | |
| 9 <script> | |
| 10 if (window.testRunner) | |
| 11 testRunner.dumpAsText(); | |
| 12 function runTest(){ | |
| 13 test1 = document.createElement('div'); | |
| 14 test1.setAttribute('id', 'test1'); | |
| 15 document.body.appendChild(test1); | |
| 16 test2 = document.createElement('div'); | |
| 17 test2.setAttribute('id', 'test2'); | |
| 18 test1.appendChild(test2); | |
| 19 test3 = document.createElement('div'); | |
| 20 test3.setAttribute('id', 'test3'); | |
| 21 test2.appendChild(test3); | |
| 22 test4 = document.createElement('span'); | |
| 23 test4.setAttribute('id', 'test4'); | |
| 24 test3.appendChild(test4); | |
| 25 document.body.offsetTop; | |
| 26 test4.style.display='block'; | |
| 27 } | |
| 28 window.onload = runTest | |
| 29 </script> | |
| 30 </head> | |
| 31 <body> | |
| 32 Test passes if it does not crash. | |
| 33 </body> | |
| 34 </html> | |
| OLD | NEW |