Index: Source/core/rendering/svg/RenderSVGInline.cpp |
diff --git a/Source/core/rendering/svg/RenderSVGInline.cpp b/Source/core/rendering/svg/RenderSVGInline.cpp |
index 51d884076255eb29491d563b09d896bdf9befaf1..64f6b4d66accd8193cc09e9e46557f9f35ff74c9 100644 |
--- a/Source/core/rendering/svg/RenderSVGInline.cpp |
+++ b/Source/core/rendering/svg/RenderSVGInline.cpp |
@@ -33,8 +33,8 @@ namespace WebCore { |
bool RenderSVGInline::isChildAllowed(RenderObject* child, RenderStyle* style) const |
{ |
- if (SVGRenderSupport::isEmptySVGInlineText(child)) |
- return false; |
+ if (child->isText()) |
+ return SVGRenderSupport::isRenderableTextNode(child); |
if (node()->hasTagName(SVGNames::aTag)) { |
// Disallow direct descendant 'a'. |