| Index: Source/core/rendering/svg/RenderSVGTSpan.cpp
|
| diff --git a/Source/core/rendering/svg/RenderSVGTSpan.cpp b/Source/core/rendering/svg/RenderSVGTSpan.cpp
|
| index 168037e97903a0b97f8e5d8a25fa80c7fd6b1b4a..9c71d5416842354b83b58a94ec31ffd235424ab2 100644
|
| --- a/Source/core/rendering/svg/RenderSVGTSpan.cpp
|
| +++ b/Source/core/rendering/svg/RenderSVGTSpan.cpp
|
| @@ -36,9 +36,9 @@ RenderSVGTSpan::RenderSVGTSpan(Element* element)
|
|
|
| bool RenderSVGTSpan::isChildAllowed(RenderObject* child, RenderStyle*) const
|
| {
|
| - // Always allow text (except empty textnodes).
|
| + // Always allow text (except empty textnodes and <br>).
|
| if (child->isText())
|
| - return !SVGRenderSupport::isEmptySVGInlineText(child);
|
| + return SVGRenderSupport::isRenderableTextNode(child);
|
|
|
| #if ENABLE(SVG_FONTS)
|
| // Only allow other types of children if this is not an 'altGlyph'.
|
|
|