| Index: Source/core/layout/LayoutBlockFlow.cpp
|
| diff --git a/Source/core/layout/LayoutBlockFlow.cpp b/Source/core/layout/LayoutBlockFlow.cpp
|
| index 9870fd2ee5b364d6e02f24fcfed8e7a462904e0c..ce89cb7be8884fd1c04854be0a5277328cadd060 100644
|
| --- a/Source/core/layout/LayoutBlockFlow.cpp
|
| +++ b/Source/core/layout/LayoutBlockFlow.cpp
|
| @@ -2775,7 +2775,7 @@ GapRects LayoutBlockFlow::blockSelectionGaps(const LayoutBlock* rootBlock, const
|
| if (curr->isFloatingOrOutOfFlowPositioned())
|
| continue; // We must be a normal flow object in order to even be considered.
|
|
|
| - if (curr->isRelPositioned() && curr->hasLayer()) {
|
| + if (curr->isInFlowPositioned() && curr->hasLayer()) {
|
| // If the relposition offset is anything other than 0, then treat this just like an absolute positioned element.
|
| // Just disregard it completely.
|
| LayoutSize relOffset = curr->layer()->offsetForInFlowPosition();
|
|
|