OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src="../../resources/js-test.js"></script> | 2 <script src="../../resources/js-test.js"></script> |
3 <p>Both words below should be in the the right column.</p> | 3 <p>Both words below should be in the the right column.</p> |
4 <div id="console"></div> | 4 <div id="console"></div> |
5 <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;"> | 5 <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;"> |
6 <div style="height:120px;"></div> | 6 <div style="height:120px;"></div> |
7 <div style="line-height:80px;">right<br>column</div> | 7 <div style="line-height:80px;">right<br>column</div> |
8 <div style="height:30px;"></div> | 8 <div style="height:30px;"></div> |
9 </div> | 9 </div> |
10 <script> | 10 <script> |
11 description("Tests that a block a column boundary is recorded properly for b
alancing"); | 11 description("Tests if a block crossing a column boundary is recorded properl
y for balancing"); |
12 shouldBe("mc.offsetHeight", "190"); | 12 shouldBe("mc.offsetHeight", "190"); |
13 </script> | 13 </script> |
OLD | NEW |