Index: LayoutTests/fast/multicol/newmulticol/balance6.html |
diff --git a/LayoutTests/fast/multicol/newmulticol/balance6.html b/LayoutTests/fast/multicol/newmulticol/balance6.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..85ab365b491c1335043721cdb73cd27a992a6433 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/newmulticol/balance6.html |
@@ -0,0 +1,24 @@ |
+<!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 no scrollbar on this page.</p> |
+ <div id="mc" style="-webkit-columns:3; columns:3; overflow:auto; width:500px; orphans:1; widows:1;"> |
+ <div style="height:100px;"></div> |
+ </div> |
+ <script> |
+ shouldBe("mc.offsetHeight", "34"); |
+ shouldBe("mc.scrollWidth", "500"); |
+ </script> |
+ <script src="../../js/resources/js-test-post.js"></script> |
+ </body> |
+</html> |