| Index: LayoutTests/fast/multicol/widows2.html
|
| diff --git a/LayoutTests/fast/multicol/widows2.html b/LayoutTests/fast/multicol/widows2.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b240319e7ffdccc15711f41f5816bf5915989a46
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/multicol/widows2.html
|
| @@ -0,0 +1,31 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<script>
|
| + 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");
|
| + if (window.internals)
|
| + internals.settings.setRegionBasedColumnsEnabled(true);
|
| +</script>
|
| +<p>There should be 6 lines in the first column, 5 in the second and 5 in the last one.</p>
|
| +<div id="mc" style="-webkit-columns:3; columns:3; -webkit-column-rule:solid; line-height:50px;">
|
| + <div style="orphans:1; widows:5;">
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + line<br>
|
| + </div>
|
| +</div>
|
| +<script>
|
| + shouldBe("mc.offsetHeight", "300");
|
| +</script>
|
|
|