| OLD | NEW | 
|---|
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> | 
| 2 <html> | 2 <html> | 
| 3 Test passes if it does crash. | 3 Test passes if it does crash. | 
| 4 <style> | 4 <style> | 
| 5 .b1 { display: block; -webkit-column-width: 100px; } | 5 .b1 { display: block; -webkit-column-width: 100px; } | 
| 6 .d1 { -webkit-column-span: all; } | 6 .d1 { -webkit-column-span: all; } | 
| 7 </style> | 7 </style> | 
| 8 <script> | 8 <script> | 
| 9 if (window.layoutTestController) | 9 if (window.layoutTestController) | 
| 10     layoutTestController.dumpAsText(); | 10     layoutTestController.dumpAsText(); | 
| 11 | 11 | 
| 12 function runTest() { | 12 function runTest() { | 
| 13 div1 = document.createElement('div'); | 13 div1 = document.createElement('div'); | 
| 14 div1.setAttribute('class', 'd1'); | 14 div1.setAttribute('class', 'd1'); | 
| 15 button1 = document.createElement('button'); | 15 button1 = document.createElement('button'); | 
| 16 button1.setAttribute('class', 'b1'); | 16 button1.setAttribute('class', 'b1'); | 
| 17 document.documentElement.appendChild(button1); | 17 document.documentElement.appendChild(button1); | 
| 18 document.documentElement.offsetTop; | 18 document.documentElement.offsetTop; | 
| 19 button1.appendChild(div1); | 19 button1.appendChild(div1); | 
| 20 document.documentElement.offsetTop; | 20 document.documentElement.offsetTop; | 
| 21 document.documentElement.innerHTML = "PASS"; | 21 document.documentElement.innerHTML = "PASS"; | 
| 22 } | 22 } | 
| 23 window.onload = runTest; | 23 window.onload = runTest; | 
| 24 </script> | 24 </script> | 
| 25 </html> | 25 </html> | 
| OLD | NEW | 
|---|