| Index: Source/core/layout/LayoutBlock.cpp
|
| diff --git a/Source/core/layout/LayoutBlock.cpp b/Source/core/layout/LayoutBlock.cpp
|
| index 5cee8786dba8a9c20f46c54ec7b6042949bd0eff..66a4e5f748408c29c30d30d0b9728d7e61f697a6 100644
|
| --- a/Source/core/layout/LayoutBlock.cpp
|
| +++ b/Source/core/layout/LayoutBlock.cpp
|
| @@ -375,7 +375,7 @@ void LayoutBlock::invalidatePaintOfSubtreesIfNeeded(PaintInvalidationState& chil
|
| // the inline elements position in PaintInvalidationState.
|
| if (box->style()->position() == AbsolutePosition) {
|
| LayoutObject* container = box->container(&paintInvalidationContainerForChild, 0);
|
| - if (container->isRelPositioned() && container->isLayoutInline()) {
|
| + if (container->isInFlowPositioned() && container->isLayoutInline()) {
|
| // FIXME: We should be able to use PaintInvalidationState for this.
|
| // Currently, we will place absolutely positioned elements inside
|
| // relatively positioned inline blocks in the wrong location. crbug.com/371485
|
| @@ -1804,7 +1804,7 @@ static inline bool isEditingBoundary(LayoutObject* ancestor, LayoutObject* child
|
| static PositionWithAffinity positionForPointRespectingEditingBoundaries(LayoutBlock* parent, LayoutBox* child, const LayoutPoint& pointInParentCoordinates)
|
| {
|
| LayoutPoint childLocation = child->location();
|
| - if (child->isRelPositioned())
|
| + if (child->isInFlowPositioned())
|
| childLocation += child->offsetForInFlowPosition();
|
|
|
| // FIXME: This is wrong if the child's writing-mode is different from the parent's.
|
|
|