2011-04-16 Abhishek Arya <inferno@chromium.org>
Reviewed by Nikolas Zimmermann.
Tests that we do not crash when adding a list item block child
as a before child to svg text.
https://bugs.webkit.org/show_bug.cgi?id=58678
* svg/text/text-block-child-crash-expected.txt: Added.
* svg/text/text-block-child-crash.xhtml: Added.
2011-04-16 Abhishek Arya <inferno@chromium.org>
Reviewed by Nikolas Zimmermann.
Only allow inline child for SVG text since we cannot
handle block childs.
https://bugs.webkit.org/show_bug.cgi?id=58678
Test: svg/text/text-block-child-crash.xhtml
* rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::isChildAllowed):
* rendering/svg/RenderSVGText.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@84085
268f45cc-cd09-0410-ab3c-
d52691b4dbfc