Index: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-auto-height.html |
diff --git a/LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-auto-height.html |
similarity index 70% |
copy from LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html |
copy to LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-auto-height.html |
index 10a88c04e03b58429e06566b2617ab704984fb17..192e0ccc7109e063405b5b646243d8463d0bed65 100644 |
--- a/LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html |
+++ b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-auto-height.html |
@@ -1,18 +1,20 @@ |
<!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'; |
+ elm.style.overflow = '-webkit-paged-x'; |
} |
</script> |
</head> |
<body onload="test()"> |
- <p>There should be a blue <em>square</em> below.</p> |
+ <p>There should be a blue <em>square</em> below, and no scrollbar.</p> |
<div id="elm" style="-webkit-columns:4; columns:4; orphans:1; widows:1; width:16em; line-height:4em; background:blue;"> |
<br> |
<br> |