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

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

Issue 2840443003: Allow forced breaks inside floats. (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/LayoutTests/fragmentation/forced-break-inside-float.html ('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 881e0bfbaaa35e0dbc8404f9d9b7302bc84e6217..1516d3437aa253888028a2193ed4ba020ab458a2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -2272,7 +2272,7 @@ bool LayoutBox::IsBreakBetweenControllable(EBreakBetween break_value) const {
// If this is a flow thread for a multicol container, and we have a break
// value for paged, we need to keep looking.
}
- if (curr->IsFloatingOrOutOfFlowPositioned())
+ if (curr->IsOutOfFlowPositioned())
return false;
curr = curr->ContainingBlock();
}
« no previous file with comments | « third_party/WebKit/LayoutTests/fragmentation/forced-break-inside-float.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698