summaryrefslogtreecommitdiff
path: root/Source/WebCore/rendering/RenderBlockLineLayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/rendering/RenderBlockLineLayout.cpp')
-rwxr-xr-xSource/WebCore/rendering/RenderBlockLineLayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebCore/rendering/RenderBlockLineLayout.cpp b/Source/WebCore/rendering/RenderBlockLineLayout.cpp
index c0c3404ad..fe6694437 100755
--- a/Source/WebCore/rendering/RenderBlockLineLayout.cpp
+++ b/Source/WebCore/rendering/RenderBlockLineLayout.cpp
@@ -1297,8 +1297,8 @@ void RenderBlock::layoutRunsAndFloatsInRange(LineLayoutState& layoutState, Inlin
#if ENABLE(CSS_EXCLUSIONS)
WrapShapeInfo* wrapShapeInfo = this->wrapShapeInfo();
// Move to the top of the shape inside to begin layout
- if (wrapShapeInfo && logicalHeight() < wrapShapeInfo->shapeTop())
- setLogicalHeight(wrapShapeInfo->shapeTop());
+ if (wrapShapeInfo && logicalHeight() < wrapShapeInfo->shapeLogicalTop())
+ setLogicalHeight(wrapShapeInfo->shapeLogicalTop());
#endif
while (!end.atEnd()) {