Index: Source/core/layout/svg/LayoutSVGModelObject.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGModelObject.cpp b/Source/core/layout/svg/LayoutSVGModelObject.cpp |
index ab77767f89df9f5c46a0110dcb58543c193bc34a..671ac13f9d0557d9182a61c03278048b850c9d44 100644 |
--- a/Source/core/layout/svg/LayoutSVGModelObject.cpp |
+++ b/Source/core/layout/svg/LayoutSVGModelObject.cpp |
@@ -48,7 +48,7 @@ LayoutSVGModelObject::LayoutSVGModelObject(SVGElement* node) |
bool LayoutSVGModelObject::isChildAllowed(LayoutObject* child, const LayoutStyle&) const |
{ |
- return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText()); |
+ return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText() || child->isSVGGradientStop()); |
} |
LayoutRect LayoutSVGModelObject::clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* paintInvalidationState) const |