- From: Erik Dahlström <ed@opera.com>
- Date: Fri, 30 May 2008 11:09:19 +0200
- To: "Ian Hickson" <ian@hixie.ch>, www-svg@w3.org
On Fri, 22 Feb 2008 02:59:50 +0100, Ian Hickson <ian@hixie.ch> wrote: > Is it intentional that getSubStringLength() can't get the advance of the > last character of a string? That was an unintentional error, and there is a pending SVG 1.1 errata item[1] that will address this. Note that this errata item is still in draft, but it's on the SVG WG agenda for next week. > According to SVG 1.1, getSubStringLength() raises an INDEX_SIZE_ERR > exception "if the charnum is negative or if charnum+nchars is greater than > or equal to the number of characters at this node", but it seems like > "charnum+nchars" being equal to the number of characters should be fine. Agreed. Cheers /Erik [1] http://www.w3.org/Graphics/SVG/Group/repository/errata/errata.xml#svgtextcontentelement_clarifications -- Erik Dahlstrom, Core Technology Developer, Opera Software Co-Chair, W3C SVG Working Group Personal blog: http://my.opera.com/macdev_ed
Received on Friday, 30 May 2008 09:12:07 UTC