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

Unified Diff: LayoutTests/fast/multicol/regular-block-becomes-multicol.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/regular-block-becomes-multicol.html
diff --git a/LayoutTests/fast/multicol/regular-block-becomes-multicol.html b/LayoutTests/fast/multicol/regular-block-becomes-multicol.html
new file mode 100644
index 0000000000000000000000000000000000000000..46062b08f3a662d22b0e9a1737bcd6b3b3589ed0
--- /dev/null
+++ b/LayoutTests/fast/multicol/regular-block-becomes-multicol.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<script>
+ onload = function() {
+ var elm = document.getElementById('elm');
+ elm.offsetTop; // trigger layout
+ elm.style.WebkitColumns = 4;
+ elm.style.columns = 4;
+ }
+</script>
+<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;">
+ P<br>
+ A<br>
+ S<br>
+ S<br>
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698