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

Unified Diff: third_party/WebKit/LayoutTests/fast/block/multicol-moves-children-with-nested-floats-2.html

Issue 1729663002: Clear descendant floats when moving children of a multicol container to a flowthread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated Created 4 years, 10 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: third_party/WebKit/LayoutTests/fast/block/multicol-moves-children-with-nested-floats-2.html
diff --git a/third_party/WebKit/LayoutTests/fast/block/multicol-moves-children-with-nested-floats-2.html b/third_party/WebKit/LayoutTests/fast/block/multicol-moves-children-with-nested-floats-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..91e5b152706b13f3be933fb54eed728b9b86a5e0
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/block/multicol-moves-children-with-nested-floats-2.html
@@ -0,0 +1,23 @@
+<!DOCTYPE html>
+<p>crbug.com/588178: PASS if no crash or assertion failure.</p>
+<div id="removeMe" style="float:left; width:100px; height:100px;"></div>
+<div id="container">
+ <!-- Sneak past removeFloatingObjectsFromDescendants() stuff in
+ LayoutBoxModelObject::moveChildTo() during LayoutMultiColumnFlowThread::populate(),
+ by having a non-LayoutBlockFlow as the first child: -->
+ <div style="display:table;"></div>
+ <div>
+ <div id="block2">
+ <textarea id="block2" style="display:block;"></textarea>
+ </div>
+ </div>
+</div>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsText();
+document.body.offsetTop;
+document.getElementById("container").style.columns = "2";
+getComputedStyle(document.body);
+document.getElementById("removeMe").style.display = "none";
+document.getElementById("block2").style.webkitWritingMode = "vertical-lr";
+</script>

Powered by Google App Engine
This is Rietveld 408576698