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