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

Unified Diff: LayoutTests/fast/multicol/multicol-becomes-paged-fixed-height.html

Issue 218663004: Changing between multicol and regular block shouldn't recreate all renderers. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review Created 6 years, 8 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/multicol-becomes-paged-fixed-height.html
diff --git a/LayoutTests/fast/multicol/multicol-becomes-paged-fixed-height.html b/LayoutTests/fast/multicol/multicol-becomes-paged-fixed-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..65f5c8a2018e69e63f617080070f87e53053c433
--- /dev/null
+++ b/LayoutTests/fast/multicol/multicol-becomes-paged-fixed-height.html
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ elm.offsetTop; // trigger layout
+ elm.style.WebkitColumns = 'auto';
+ elm.style.columns = 'auto';
+ elm.style.overflow = '-webkit-paged-x';
+ }
+</script>
+<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>

Powered by Google App Engine
This is Rietveld 408576698