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(); | |
|
rune
2014/05/06 09:00:06
This is unnecessary as it's already called from js
mstensho (USE GERRIT)
2014/05/06 09:17:40
Done.
| |
| 6 if (window.internals) | |
| 7 internals.settings.setRegionBasedColumnsEnabled(true); | |
| 8 </script> | |
| 9 <p>There should be 6 lines in the first column, 5 in the second and 5 in the las t one.</p> | |
| 10 <div id="mc" style="-webkit-columns:3; columns:3; -webkit-column-rule:solid; lin e-height:50px;"> | |
| 11 <div style="orphans:1; widows:5;"> | |
| 12 line<br> | |
| 13 line<br> | |
| 14 line<br> | |
| 15 line<br> | |
| 16 line<br> | |
| 17 line<br> | |
| 18 line<br> | |
| 19 line<br> | |
| 20 line<br> | |
| 21 line<br> | |
| 22 line<br> | |
| 23 line<br> | |
| 24 line<br> | |
| 25 line<br> | |
| 26 line<br> | |
| 27 line<br> | |
| 28 </div> | |
| 29 </div> | |
| 30 <script> | |
| 31 shouldBe("mc.offsetHeight", "300"); | |
| 32 </script> | |
| OLD | NEW |