Index: LayoutTests/fast/multicol/newmulticol/balance9.html |
diff --git a/LayoutTests/fast/multicol/newmulticol/balance9.html b/LayoutTests/fast/multicol/newmulticol/balance9.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9af3eab706532951af80802db5ff4923001f6ae8 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/newmulticol/balance9.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>line</div> |
+ <div>line</div> |
+ <div>line</div> |
+ <div>line</div> |
+ <div style="font-size:1.3em;">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> |