Index: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
index c633ed2fc07dfc64fb31b29b623f75520fd98366..e01e173ded8e60e752d4e38d2ccabe63d410b76c 100644 |
--- a/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp |
@@ -3905,6 +3905,11 @@ LayoutUnit LayoutBlockFlow::nextFloatLogicalBottomBelowForBlock( |
logicalHeight); |
} |
+LayoutUnit LayoutBlockFlow::logicalHeightWithVisibleOverflow() const { |
+ LayoutUnit logicalHeight = LayoutBlock::logicalHeightWithVisibleOverflow(); |
+ return std::max(logicalHeight, lowestFloatLogicalBottom()); |
+} |
+ |
Node* LayoutBlockFlow::nodeForHitTest() const { |
// If we are in the margins of block elements that are part of a |
// continuation we're actually still inside the enclosing element |