[Webkit-unassigned] [Bug 120451] New: Make SVGTextContentElement methods behave consistently with Firefox and IE
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Aug 28 20:08:36 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=120451
Summary: Make SVGTextContentElement methods behave consistently
with Firefox and IE
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: zimmermann at kde.org, krit at webkit.org, thorton at apple.com
Consider merging https://chromium.googlesource.com/chromium/blink/+/f28cb3ba700c3faf578046a6b7fa7f9cf17d04c7
Make SVGTextContentElement methods behave consistently with Firefox 23 and
IE10:
- We should not throw when negative values are passed in arguments as long
as they wrap to a valid positive index.
- Arguments should be mandatory
Also fixed a bug in SVGTextContentElement.getSubStringLength() where the
wrong result would be returned if the nchars argument was
too large due to an overflow. To avoid this issue, we clamp the nchars
value to (numberOfChars - charnum) similarly to what is done in
SVGTextContentElement.selectSubString(), and as per the specification:
http://www.w3.org/TR/SVG2/text.html#__svg__SVGTextContentElement__getSubStringLength
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list