Index: third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp |
index 3a9f7136bbbceed46fbe505f03df4b68dcd8e402..aabe19efc3f2d553a951a0598e37ac40e7fea11a 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlowLine.cpp |
@@ -911,7 +911,8 @@ void LayoutBlockFlow::layoutRunsAndFloatsInRange(LineLayoutState& layoutState, |
if (layoutState.usesPaintInvalidationBounds()) |
layoutState.updatePaintInvalidationRangeFromBox(lineBox); |
- if (paginated) { |
+ bool insideBreakableObject = !isTableCell() || toLayoutBox(parent())->getPaginationBreakability() == AllowAnyBreaks; |
mstensho (USE GERRIT)
2016/03/17 14:04:03
This is wrong. break-inside:avoid means that you s
|
+ if (paginated && insideBreakableObject) { |
LayoutUnit adjustment; |
adjustLinePositionForPagination(*lineBox, adjustment); |
if (adjustment) { |