Index: LayoutTests/fast/multicol/newmulticol/orphans-and-widows-balance.html |
diff --git a/LayoutTests/fast/multicol/newmulticol/orphans-and-widows-balance.html b/LayoutTests/fast/multicol/newmulticol/orphans-and-widows-balance.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8c599fb41fee0ec13248eaaf0371e666608c152b |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/newmulticol/orphans-and-widows-balance.html |
@@ -0,0 +1,32 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>Orphans and widows in auto-height multicol</title> |
+ <script src="../../js/resources/js-test-pre.js"></script> |
+ <script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ </script> |
+ </head> |
+ <body> |
+ <p>There should be two identical boxes below.</p> |
+ <div id="mc" style="-webkit-columns:4; columns:4; orphans:4; widows:4; color:olive; background:olive;"> |
+ line<br> |
+ line<br> |
+ line<br> |
+ line<br> |
+ </div> |
+ <div id="ref" style="margin-top:1em; color:olive; background:olive;"> |
+ line<br> |
+ line<br> |
+ line<br> |
+ line<br> |
+ </div> |
+ <script> |
+ shouldBe("mc.offsetHeight", "ref.offsetHeight"); |
+ </script> |
+ <script src="../../js/resources/js-test-post.js"></script> |
+ </body> |
+</html> |