Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / fast / multicol / widows2.html
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <script>
4     description("Test column balancer behavior when widows requirements are high, and there are so many lines that there's no need for early breaks to honor widows");
5 </script>
6 <p>There should be 6 lines in the first column, 5 in the second and 5 in the last one.</p>
7 <div id="mc" style="-webkit-columns:3; columns:3; -webkit-column-rule:solid; line-height:50px;">
8     <div style="orphans:1; widows:5;">
9         line<br>
10         line<br>
11         line<br>
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     </div>
26 </div>
27 <script>
28     shouldBe("mc.offsetHeight", "300");
29 </script>