Index: Source/core/layout/LayoutBoxModelObject.cpp |
diff --git a/Source/core/layout/LayoutBoxModelObject.cpp b/Source/core/layout/LayoutBoxModelObject.cpp |
index b422994e2f9d2cebf1714b5a26baa8c301b1d240..6a93d710c15beee74052f68bf7f72cff25d9460f 100644 |
--- a/Source/core/layout/LayoutBoxModelObject.cpp |
+++ b/Source/core/layout/LayoutBoxModelObject.cpp |
@@ -454,12 +454,12 @@ void LayoutBoxModelObject::updateFromStyle() |
static LayoutSize accumulateInFlowPositionOffsets(const LayoutObject* child) |
{ |
- if (!child->isAnonymousBlock() || !child->isRelPositioned()) |
+ if (!child->isAnonymousBlock() || !child->isInFlowPositioned()) |
return LayoutSize(); |
LayoutSize offset; |
LayoutObject* p = toLayoutBlock(child)->inlineElementContinuation(); |
while (p && p->isLayoutInline()) { |
- if (p->isRelPositioned()) { |
+ if (p->isInFlowPositioned()) { |
LayoutInline* layoutInline = toLayoutInline(p); |
offset += layoutInline->offsetForInFlowPosition(); |
} |
@@ -576,7 +576,7 @@ LayoutPoint LayoutBoxModelObject::adjustedPositionRelativeToOffsetParent(const L |
if (offsetParent->isBox() && !offsetParent->isBody()) |
referencePoint.move(-toLayoutBox(offsetParent)->borderLeft(), -toLayoutBox(offsetParent)->borderTop()); |
if (!isOutOfFlowPositioned() || flowThreadContainingBlock()) { |
- if (isRelPositioned()) |
+ if (isInFlowPositioned()) |
referencePoint.move(relativePositionOffset()); |
LayoutObject* current; |