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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBox.cpp

Issue 2799363003: A column-span:all element should always establish a new formatting context. (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 05d55ffa18e60853fa851e01881dc856ea4d7827..9460837de934d171b87138dd10dc175b49815f74 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -4761,6 +4761,7 @@ bool LayoutBox::avoidsFloats() const {
// crbug.com/460704: This should be merged with createsNewFormattingContext().
return shouldBeConsideredAsReplaced() || hasOverflowClip() || isHR() ||
isLegend() || isWritingModeRoot() || isFlexItemIncludingDeprecated() ||
+ style()->getColumnSpan() == ColumnSpanAll ||
style()->containsPaint() || style()->containsLayout() ||
style()->display() == EDisplay::kFlowRoot;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlock.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698