projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
third_party
/
WebKit
/
Source
/
core
/
rendering
/
svg
/
RenderSVGTSpan.cpp
diff --git
a/src/third_party/WebKit/Source/core/rendering/svg/RenderSVGTSpan.cpp
b/src/third_party/WebKit/Source/core/rendering/svg/RenderSVGTSpan.cpp
index
168037e
..
9c71d54
100644
(file)
--- a/
src/third_party/WebKit/Source/core/rendering/svg/RenderSVGTSpan.cpp
+++ b/
src/third_party/WebKit/Source/core/rendering/svg/RenderSVGTSpan.cpp
@@
-36,9
+36,9
@@
RenderSVGTSpan::RenderSVGTSpan(Element* element)
bool RenderSVGTSpan::isChildAllowed(RenderObject* child, RenderStyle*) const
{
bool RenderSVGTSpan::isChildAllowed(RenderObject* child, RenderStyle*) const
{
- // Always allow text (except empty textnodes).
+ // Always allow text (except empty textnodes
and <br>
).
if (child->isText())
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'.
#if ENABLE(SVG_FONTS)
// Only allow other types of children if this is not an 'altGlyph'.