Index: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-fixed-height.html |
diff --git a/LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol.html b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-fixed-height.html |
similarity index 51% |
copy from LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol.html |
copy to LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-fixed-height.html |
index 5e0c761143db3ddd0b4dd8d7e2d1fe9135a57fa2..b9b17b4ab7b3871fe9cdbbb202e9a41befd8f36f 100644 |
--- a/LayoutTests/fast/multicol/newmulticol/regular-block-becomes-multicol.html |
+++ b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-fixed-height.html |
@@ -1,20 +1,22 @@ |
<!DOCTYPE html> |
<html> |
<head> |
- <title>Change regular block to multicol</title> |
<script> |
+ if (window.internals) |
+ internals.settings.setRegionBasedColumnsEnabled(true); |
function test() { |
var elm = document.getElementById('elm'); |
elm.offsetTop; // trigger layout |
- elm.style.WebkitColumns = 4; |
- elm.style.columns = 4; |
+ elm.style.WebkitColumns = '4'; |
+ elm.style.columns = '4'; |
+ elm.style.overflow = 'visible'; |
} |
</script> |
</head> |
<body onload="test()"> |
<p>You should see the word 'PASS' below.</p> |
- <div style="font-family:monospace; float:left;"> |
- <div id="elm" style="-webkit-column-gap:0; column-gap:0; orphans:1; widows:1;"> |
+ <div style="float:left;"> |
+ <div id="elm" style="overflow:-webkit-paged-x; -webkit-column-gap:0; column-gap:0; orphans:1; widows:1; height:7em; line-height:4em;"> |
P<br> |
A<br> |
S<br> |