<rdar://problem/5692940> Crash when attempting to get text properties in SVG with...
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jan 2008 21:33:13 +0000 (21:33 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 17 Jan 2008 21:33:13 +0000 (21:33 +0000)
commit4784859d1bdce20acf204f0122f34d69a321e81e
treeb4388756f849dec38d7c34f216551f5a4b41332b
parent0875402c352e768f0bbe04a1c31535a5fc586ea3
<rdar://problem/5692940> Crash when attempting to get text properties in SVG with no renderer

Reviewed by Anders

We use the element renderer to calculate the text element bounds,
however there was no check against the possibility of the text dimension
properties being requested on a element with no renderer (eg. unattached,
display: none).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/svg/text/text-property-with-display-none-expected.txt [new file with mode: 0644]
LayoutTests/svg/text/text-property-with-display-none.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/svg/SVGTextContentElement.cpp