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 <script> | 3 <script> |
4 description("Tests that the bottom border at a column boundary in a block th
at lives in multiple columns is recorded properly for balancing"); | 4 description("Tests that the bottom border at a column boundary in a block th
at lives in multiple columns is recorded properly for balancing"); |
5 if (window.internals) | |
6 internals.settings.setRegionBasedColumnsEnabled(true); | |
7 </script> | 5 </script> |
8 <p>There should be no space between the short black line and the long gray one.<
/p> | 6 <p>There should be no space between the short black line and the long gray one.<
/p> |
9 <div id="mc" style="-webkit-columns:3; columns:3; line-height:21px; orphans:1; w
idows:1; border-bottom:3px solid gray;"> | 7 <div id="mc" style="-webkit-columns:3; columns:3; line-height:21px; orphans:1; w
idows:1; border-bottom:3px solid gray;"> |
10 <div style="height:9px;"></div> | 8 <div style="height:9px;"></div> |
11 <div style="border-bottom:3px solid black;"> | 9 <div style="border-bottom:3px solid black;"> |
12 <br><br><br><br><br><br><br><br> | 10 <br><br><br><br><br><br><br><br> |
13 </div> | 11 </div> |
14 </div> | 12 </div> |
15 <script> | 13 <script> |
16 shouldBe("mc.offsetHeight", "69"); | 14 shouldBe("mc.offsetHeight", "69"); |
17 </script> | 15 </script> |
OLD | NEW |