SVGShadowText subclass has little functionality beyond the plain Text. Remove it for simplicity.
Created attachment 175709 [details] patch
Comment on attachment 175709 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=175709&action=review > Source/WebCore/dom/Text.cpp:242 > +static bool isSVGShadowText(Text* text) I would add inline if I were you. > Source/WebCore/dom/Text.cpp:248 > +static bool isSVGText(Text* text) Ditto. > Source/WebCore/svg/SVGTRefElement.cpp:162 > root->firstChild()->setTextContent(textContent, ASSERT_NO_EXCEPTION); We should probably assert that firstChild is a Text node.
http://trac.webkit.org/changeset/135544