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

Unified Diff: LayoutTests/fast/multicol/newmulticol/compare-with-old-impl/paged-becomes-multicol-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/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>

Powered by Google App Engine
This is Rietveld 408576698