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
Unnecessary.
mstensho (USE GERRIT)
2014/05/06 09:17:40
Done.
| |
6 if (window.internals) | |
7 internals.settings.setRegionBasedColumnsEnabled(true); | |
8 </script> | |
9 <p>The 5 lines should all be in the second column.</p> | |
10 <div id="mc" style="-webkit-columns:3; columns:3; -webkit-column-rule:solid; lin e-height:50px; orphans:1; widows:5;"> | |
11 <span id="inFirstColumn"><br></span> | |
12 <span id="first">line<br></span> | |
13 line<br> | |
14 line<br> | |
15 line<br> | |
16 <span id="last">line<br></span> | |
17 </div> | |
18 <script> | |
19 shouldBe("mc.offsetHeight", "250"); | |
20 shouldBe("first.offsetTop", "inFirstColumn.offsetTop"); | |
21 shouldBeGreaterThan("first.offsetLeft", "inFirstColumn.offsetLeft"); | |
22 shouldBe("last.offsetLeft", "first.offsetLeft"); | |
23 </script> | |
OLD | NEW |