Index: Source/core/rendering/RenderBlock.cpp |
diff --git a/Source/core/rendering/RenderBlock.cpp b/Source/core/rendering/RenderBlock.cpp |
index 7ec05d1caf9aaf1cc25f68ef7dc337b0a9aff9e0..239358eed50c4115b70832da6c0272898d296e4b 100644 |
--- a/Source/core/rendering/RenderBlock.cpp |
+++ b/Source/core/rendering/RenderBlock.cpp |
@@ -1830,7 +1830,7 @@ bool RenderBlock::isSelectionRoot() const |
if (isBody() || isDocumentElement() || hasOverflowClip() |
|| isPositioned() || isFloating() |
|| isTableCell() || isInlineBlockOrInlineTable() |
- || hasTransform() || hasReflection() || hasMask() || isWritingModeRoot() |
+ || hasTransformRelatedProperty() || hasReflection() || hasMask() || isWritingModeRoot() |
|| isRenderFlowThread() || isFlexItemIncludingDeprecated()) |
return true; |
@@ -1921,7 +1921,7 @@ GapRects RenderBlock::selectionGaps(const RenderBlock* rootBlock, const LayoutPo |
if (!isRenderBlockFlow()) // FIXME: Make multi-column selection gap filling work someday. |
return result; |
- if (hasColumns() || hasTransform() || style()->columnSpan()) { |
+ if (hasColumns() || hasTransformRelatedProperty() || style()->columnSpan()) { |
// FIXME: We should learn how to gap fill multiple columns and transforms eventually. |
lastLogicalTop = rootBlock->blockDirectionOffset(offsetFromRootBlock) + logicalHeight(); |
lastLogicalLeft = logicalLeftSelectionOffset(rootBlock, logicalHeight()); |