I use getComputedTextLength () in SVG text elements to wrap text strings. However, I have different results in Firefox and Chrome. Here is an example that gives different results using Chromium 18.0 and Firefox 12.0: http://jsfiddle.net/cBSp4/2/
Why is the result different and, more important, is it corrected?
(The values ββfrom getBBox () seem to be in order, so I'm using this as a workaround at the moment).
source share