Index: LayoutTests/fast/multicol/newmulticol/balance8.html |
diff --git a/LayoutTests/fast/multicol/newmulticol/balance8.html b/LayoutTests/fast/multicol/newmulticol/balance8.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cf0bac3602a58ac06f54ff33c0be1f2e16da9481 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/newmulticol/balance8.html |
@@ -0,0 +1,36 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>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:3; columns:3; orphans:1; widows:1; color:olive; background:olive;"> |
+ <div>line</div> |
+ <div>line</div> |
+ <div>line</div> |
+ <div>line</div> |
+ <div style="font-size:1.3em;">line</div> |
+ <div>line</div> |
+ <div>line</div> |
+ <div>line</div> |
+ <div>line</div> |
+ </div> |
+ <div id="ref" style="margin-top:1em; color:olive; background:olive;"> |
+ <div style="font-size:1.3em;">line</div> |
+ <div>line</div> |
+ <div>line</div> |
+ </div> |
+ <script> |
+ shouldBe("mc.offsetHeight", "ref.offsetHeight"); |
+ </script> |
+ <script src="../../js/resources/js-test-post.js"></script> |
+ </body> |
+</html> |