RESOLVED WORKSFORME 63118
getComputedTextLength doesn't work for tspan element
https://bugs.webkit.org/show_bug.cgi?id=63118
Summary getComputedTextLength doesn't work for tspan element
Egor Nepomnyaschih
Reported 2011-06-21 22:35:14 PDT
1) Visit http://www.carto.net/neumann/webkitsvgbugs/text-dom-01-f.svg in Safari 5.0.5 2) Run command javascript:alert(document.getElementById("testText").childNodes[1].getComputedTextLength()) Expected result: 11 Actual result: 0 Works properly in Chrome 12 and Firefox 4. Related topics: https://bugs.webkit.org/show_bug.cgi?id=12290 and https://bugs.webkit.org/show_bug.cgi?id=15622 (they are about "text" element, not "tspan").
Attachments
Dirk Schulze
Comment 1 2011-06-21 23:35:57 PDT
Please check tests in a nightly builds before opening a bug report. Also, if it works in Chrome it is very likely that it is fixed in trunk. That is the case for your bug. Thanks.
Note You need to log in before you can comment on or make changes to this bug.