[Webkit-unassigned] [Bug 41913] XPath substring function has inconsistent handling of negative values for the position argument
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 9 10:07:02 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41913
Steve Block <steveblock at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |steveblock at google.com
--- Comment #3 from Steve Block <steveblock at google.com> 2010-07-09 10:07:02 PST ---
> Yes, substring("12345", -1) should return "12345". This is not only about
> negative numbers -substring("12345", 0) is also wrong for the same reason.
Yes, I meant non-positive numbers. Patch coming soon.
--
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