Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1561)

Unified Diff: Source/core/rendering/svg/RenderSVGTextPath.cpp

Issue 145493012: <br> nodes should not be allowed within SVG text (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/rendering/svg/RenderSVGTextPath.cpp
diff --git a/Source/core/rendering/svg/RenderSVGTextPath.cpp b/Source/core/rendering/svg/RenderSVGTextPath.cpp
index c921c2f84ce59315bd06779f414e266b78ac3454..1f9c54656ef880f3c15d048e55e3f3f158b3633b 100644
--- a/Source/core/rendering/svg/RenderSVGTextPath.cpp
+++ b/Source/core/rendering/svg/RenderSVGTextPath.cpp
@@ -37,7 +37,7 @@ RenderSVGTextPath::RenderSVGTextPath(Element* element)
bool RenderSVGTextPath::isChildAllowed(RenderObject* child, RenderStyle*) const
{
if (child->isText())
- return !SVGRenderSupport::isEmptySVGInlineText(child);
+ return SVGRenderSupport::isRenderableTextNode(child);
#if ENABLE(SVG_FONTS)
// 'altGlyph' is supported by the content model for 'textPath', but...

Powered by Google App Engine
This is Rietveld 408576698