Index: Source/core/layout/svg/LayoutSVGRoot.cpp |
diff --git a/Source/core/layout/svg/LayoutSVGRoot.cpp b/Source/core/layout/svg/LayoutSVGRoot.cpp |
index 996c83d646b3730441c91001dc7cd02f8639ea1a..9b88e7694f64c342b506bcd460b81a3c1bf5a6a4 100644 |
--- a/Source/core/layout/svg/LayoutSVGRoot.cpp |
+++ b/Source/core/layout/svg/LayoutSVGRoot.cpp |
@@ -236,7 +236,7 @@ void LayoutSVGRoot::styleDidChange(StyleDifference diff, const LayoutStyle* oldS |
bool LayoutSVGRoot::isChildAllowed(LayoutObject* child, const LayoutStyle&) const |
{ |
- return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText()); |
+ return child->isSVG() && !(child->isSVGInline() || child->isSVGInlineText() || child->isSVGGradientStop()); |
} |
void LayoutSVGRoot::addChild(LayoutObject* child, LayoutObject* beforeChild) |