Index: LayoutTests/fast/multicol/change-height.html |
diff --git a/LayoutTests/fast/multicol/change-height.html b/LayoutTests/fast/multicol/change-height.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e20c920b2bce4423db4c3d074c6cc43abe0fdcc3 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/change-height.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <script> |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ function test() { |
+ var elm = document.getElementById('elm'); |
+ elm.offsetTop; // trigger layout |
+ elm.style.height = '14em'; |
+ } |
+ </script> |
+ </head> |
+ <body onload="test()"> |
+ <p>Below there should be <em>one</em> column with 7 lines.</p> |
+ <div id="elm" style="-webkit-columns:3; columns:3; column-fill:auto; orphans:1; widows:1; height:4em; line-height:2em;"> |
+ line<br> |
+ line<br> |
+ line<br> |
+ line<br> |
+ line<br> |
+ line<br> |
+ line<br> |
+ </div> |
+ </body> |
+</html> |