Index: third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp b/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp |
index 0062a5a7d7fa19f85abaf2804916b110b90d1b4a..237bacac61753464c90959f7a1c38ec97f50d2aa 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp |
@@ -149,7 +149,9 @@ void LayoutFlowThread::absoluteQuadsForDescendant(const LayoutBox& descendant, |
LayoutRect fragment = boundingRectInFlowThread; |
// We use inclusiveIntersect() because intersect() would reset the |
// coordinates for zero-height objects. |
- fragment.inclusiveIntersect(iterator.fragmentainerInFlowThread()); |
+ LayoutRect clipRect = iterator.clipRectInFlowThread( |
+ MultiColumnFragmentainerGroup::BlockDirectionAxis); |
+ fragment.inclusiveIntersect(clipRect); |
fragment.moveBy(-offsetFromFlowThread); |
quads.push_back(descendant.localToAbsoluteQuad(FloatRect(fragment), mode)); |
} |