Chromium Code Reviews

Unified Diff: LayoutTests/fast/multicol/paged-becomes-multicol-auto-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.
Jump to:
View side-by-side diff with in-line comments
Index: LayoutTests/fast/multicol/paged-becomes-multicol-auto-height.html
diff --git a/LayoutTests/fast/multicol/paged-becomes-multicol-auto-height.html b/LayoutTests/fast/multicol/paged-becomes-multicol-auto-height.html
new file mode 100644
index 0000000000000000000000000000000000000000..b38b5ec47e27895487319de93231a3f377239859
--- /dev/null
+++ b/LayoutTests/fast/multicol/paged-becomes-multicol-auto-height.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ elm.offsetTop; // trigger layout
+ elm.style.WebkitColumns = '4';
+ elm.style.columns = '4';
+ elm.style.overflow = 'visible';
+ }
+</script>
+<p>You should see the word 'PASS' below.</p>
+<div style="float:left;">
+ <div id="elm" style="overflow:-webkit-paged-x; -webkit-column-gap:0; column-gap:0; orphans:1; widows:1;">
+ P<br>
+ A<br>
+ S<br>
+ S<br>
+ </div>
+</div>

Powered by Google App Engine