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

Unified Diff: LayoutTests/fast/multicol/nested-multicol-two-spanners-dynamic.html

Issue 656143003: Ignore continuations when collapsing an anonymous block. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/nested-multicol-two-spanners-dynamic-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/multicol/nested-multicol-two-spanners-dynamic.html
diff --git a/LayoutTests/fast/multicol/nested-multicol-two-spanners-dynamic.html b/LayoutTests/fast/multicol/nested-multicol-two-spanners-dynamic.html
new file mode 100644
index 0000000000000000000000000000000000000000..b9ff1240174590fbde13b04d855b09a5f5aaf2c6
--- /dev/null
+++ b/LayoutTests/fast/multicol/nested-multicol-two-spanners-dynamic.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html>
+<script>
+ if (window.testRunner)
+ testRunner.dumpAsText();
+ onload = function() {
+ document.body.offsetTop;
+ document.getElementById('wine').style.WebkitColumns = '2';
+ document.body.offsetTop;
+ document.getElementById('spanner1').style.display = 'block';
+ document.body.offsetTop;
+ document.getElementById('container').style.display = 'none';
+ }
+</script>
+<div id="container" style="-webkit-columns:2;">
+ <div id="wine">
+ <div id="beer">
+ <div id="strength"></div>
+ <div id="spanner1" style="display:none; -webkit-column-span:all;"></div>
+ </div>
+ <div id="wisdom"></div>
+ <div id="beer2">
+ <div id="wisdom2"></div>
+ <div id="strength2"></div>
+ <div style="-webkit-column-span:all;"></div>
+ </div>
+ </div>
+</div>
+<p>PASS if no crash.</p>
+<ol>
+ <li>After initial layout: A multicol has a column-span:all
+ descendant (not a direct child, so that we establish block
+ continuations and anonymous multi-column blocks)</li>
+ <li>Turn a child of this multicol container into a multicol</li>
+ <li>Add another column-span:all descendant (again, not a direct
+ child, so that we get more continuations)</li>
+ <li>Set display:none on everything</li>
+</ol>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/nested-multicol-two-spanners-dynamic-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698