Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(900)

Unified Diff: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-fixed-height.html

Issue 364233005: [New Multicolumn] Support for paged overflow. (By mstensho). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Run fast/pagination in virtual/regionbasedmulticol. Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-fixed-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-fixed-height.html
similarity index 50%
copy from LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html
copy to LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-fixed-height.html
index 10a88c04e03b58429e06566b2617ab704984fb17..0eb917740ca3991a6c57ef39dc67b1dece547bb0 100644
--- a/LayoutTests/fast/multicol/newmulticol/multicol-becomes-regular-block.html
+++ b/LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/multicol-becomes-paged-fixed-height.html
@@ -1,23 +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';
+ elm.style.overflow = '-webkit-paged-x';
}
</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>
+ <p>There should be nothing below, except for a horizontal scrollbar.</p>
+ <div id="elm" style="-webkit-columns:4; columns:4; -webkit-column-fill:auto; column-fill:auto; height:11em; orphans:1; widows:1; width:16em; line-height:4em;">
<br>
<br>
<br>
+ FAIL
</div>
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698