[Webkit-unassigned] [Bug 37515] getPathSegAtLength() gives incorrect value

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 4 21:16:32 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37515


Robin Qiu <robin.qiu at torchmobile.com.cn> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |robin.qiu at torchmobile.com.c
                   |                            |n




--- Comment #1 from Robin Qiu <robin.qiu at torchmobile.com.cn>  2010-05-04 21:16:32 PST ---
According to the spec: "The index of the path segment, where the first path
segment is number 0."  I think the return value should be 1.  However, there is
indeed a bug in this function, because getPathSegAtLength(2) and
getPathSegAtLength(7) both return 1. 

By the way, assuming the index of the path segment starts from 1, Firefox is
correct.

-- 
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