Index: Source/core/layout/LayoutBlockFlow.cpp |
diff --git a/Source/core/layout/LayoutBlockFlow.cpp b/Source/core/layout/LayoutBlockFlow.cpp |
index a17579a659121ceb0e7d760f61a1d7c7a88f2fb2..c34383789539f7ee3e8207ec8bc5e05d16ffead8 100644 |
--- a/Source/core/layout/LayoutBlockFlow.cpp |
+++ b/Source/core/layout/LayoutBlockFlow.cpp |
@@ -2809,7 +2809,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(); |