Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/js-test.js"></script> | |
| 3 <script> | |
| 4 if (window.testRunner) | |
| 5 testRunner.dumpAsText(); | |
| 6 if (window.internals) | |
| 7 internals.settings.setRegionBasedColumnsEnabled(true); | |
| 8 </script> | |
| 9 <p>Both words below should be in the the right column.</p> | |
| 10 <div id="mc" style="-webkit-columns:2; columns:2; orphans:1; widows:1; -webkit-c olumn-rule:1px solid; column-rule:1px solid; background:olive;"> | |
| 11 <div style="height:120px;"></div> | |
| 12 <div style="line-height:80px;">right<br>column</div> | |
| 13 <div style="height:30px;"></div> | |
| 14 </div> | |
| 15 <script> | |
| 16 shouldBe("mc.offsetHeight", "190"); | |
| 17 </script> | |
| OLD | NEW |