Index: LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html |
diff --git a/LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html b/LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8f02d0f91b08547e8ff3b7fe5023ef06ba71d1fb |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html |
@@ -0,0 +1,25 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>Change multicol to regular block</title> |
+ <script> |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
+ function test() { |
+ var elm = document.getElementById('elm'); |
+ elm.offsetTop; // trigger layout |
+ elm.style.WebkitColumns = 'auto'; |
+ elm.style.columns = 'auto'; |
+ } |
+ </script> |
+ </head> |
+ <body onload="test()"> |
+ <p>There should be a blue <em>square</em> below.</p> |
+ <div id="elm" style="-webkit-columns:4; columns:4; orphans:1; widows:1; width:16em; line-height:4em; background:blue;"> |
+ <br> |
+ <br> |
+ <br> |
+ <br> |
+ </div> |
+ </body> |
+</html> |