Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script> | |
| 3 if (window.testRunner) | |
| 4 testRunner.dumpAsText(); | |
| 5 if (window.internals) | |
| 6 internals.settings.setRegionBasedColumnsEnabled(true); | |
| 7 onload = function() { | |
| 8 document.body.offsetTop; | |
| 9 document.getElementById('child').style.display = 'none'; | |
| 10 document.getElementById('mc').style.width = '90%'; | |
| 11 } | |
| 12 </script> | |
| 13 <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;"> | |
| 15 <div id="child">Test failed!</div> | |
| 16 </div> | |
| OLD | NEW |