| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script> | 2 <script> |
| 3 if (window.testRunner) | 3 if (window.testRunner) |
| 4 testRunner.dumpAsText(); | 4 testRunner.dumpAsText(); |
| 5 if (window.internals) |
| 6 internals.settings.setRegionBasedColumnsEnabled(true); |
| 5 onload = function() { | 7 onload = function() { |
| 6 document.body.offsetTop; | 8 document.body.offsetTop; |
| 7 document.getElementById('child').style.display = 'none'; | 9 document.getElementById('child').style.display = 'none'; |
| 8 document.getElementById('mc').style.width = '90%'; | 10 document.getElementById('mc').style.width = '90%'; |
| 9 } | 11 } |
| 10 </script> | 12 </script> |
| 11 <p>Make a multicol container childless. Then change its width to trigger layout
of all children. PASS if no crash.</p> | 13 <p>Make a multicol container childless. Then change its width to trigger layout
of all children. PASS if no crash.</p> |
| 12 <div id="mc" style="-webkit-columns:3;"> | 14 <div id="mc" style="-webkit-columns:3;"> |
| 13 <div id="child">Test failed!</div> | 15 <div id="child">Test failed!</div> |
| 14 </div> | 16 </div> |
| OLD | NEW |