[Webkit-unassigned] [Bug 17078] SVGTextElement.getSubStringLength does not work as expected (affects Acid3 test 77)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Mar 1 04:42:05 PST 2008


jwalden+bwo at mit.edu changed:

           What    |Removed                     |Added
                 CC|                            |jwalden+bwo at mit.edu

------- Comment #13 from jwalden+bwo at mit.edu  2008-03-01 04:42 PDT -------
The condition you want for an indexing error is:

if (charcount <= charnum || nchars > charcount - charnum)

where charcount is the unsigned number of characters in this.  The <= changes
to a < if text.getSubString(textLength, 0) is to return 0 and not throw, as I
mildly think it should.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list