| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <body style="font-family: Ahem; -webkit-font-smoothing: none;"> | 3 <body style="font-family: Ahem; -webkit-font-smoothing: none;"> |
| 4 <style> | 4 <style> |
| 5 #container { -webkit-column-width: 100px; } | 5 #container { -webkit-column-width: 100px; } |
| 6 #div1 { -webkit-column-span: all; } | 6 #div1 { -webkit-column-span: all; } |
| 7 #flexbox1 { color: white; } | 7 #flexbox1 { color: white; } |
| 8 </style> | 8 </style> |
| 9 <script> | 9 <script> |
| 10 if (window.testRunner) | 10 if (window.testRunner) |
| 11 testRunner.dumpAsText(); | 11 testRunner.dumpAsText(); |
| 12 document.body.offsetTop; | 12 document.body.offsetTop; |
| 13 var container = document.createElement('div'); | 13 var container = document.createElement('div'); |
| 14 container.setAttribute('id', 'container'); | 14 container.setAttribute('id', 'container'); |
| 15 document.body.appendChild(container); | 15 document.body.appendChild(container); |
| 16 flexbox1 = document.createElement('div'); | 16 flexbox1 = document.createElement('div'); |
| 17 flexbox1.setAttribute('id', 'flexbox1'); | 17 flexbox1.setAttribute('id', 'flexbox1'); |
| 18 container.appendChild(flexbox1); | 18 container.appendChild(flexbox1); |
| 19 var div1 = document.createElement('div'); | 19 var div1 = document.createElement('div'); |
| 20 div1.setAttribute('id', 'div1'); | 20 div1.setAttribute('id', 'div1'); |
| 21 flexbox1.style.display = '-webkit-flex'; | 21 flexbox1.style.display = '-webkit-flex'; |
| 22 flexbox1.appendChild(document.createTextNode('a')); | 22 flexbox1.appendChild(document.createTextNode('a')); |
| 23 flexbox1.appendChild(div1); | 23 flexbox1.appendChild(div1); |
| 24 flexbox1.appendChild(document.createTextNode('b')); | 24 flexbox1.appendChild(document.createTextNode('b')); |
| 25 onload = function () { document.write("Test passes if no crash."); } | 25 onload = function () { document.write("Test passes if no crash."); } |
| 26 </script> | 26 </script> |
| 27 </body> | 27 </body> |
| 28 </html> | 28 </html> |
| OLD | NEW |