[Webkit-unassigned] [Bug 30219] New: SVG Path elements are not correctly updated through pathSegList manipulation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 8 10:01:09 PDT 2009


           Summary: SVG Path elements are not correctly updated through
                    pathSegList manipulation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: adeveria at gmail.com

Created an attachment (id=40884)
 --> (https://bugs.webkit.org/attachment.cgi?id=40884)
Demo that shows an example of the issue (works in FF/Opera)

Altering a path using pathSegList methods [1] fails to properly change the
element's "d" attribute, nor is the element painted correctly.

Note that it does correctly add the segment to the pathSegList, as can be
discovered by using .getItem(n) or accessing the numberOfItems attribute. But
that's pretty useless as the actual shape is not changed.

I have attached an SVG file that attempts to add a segment using
insertItemBefore, then checks if the "d" attribute has changed.

Until this is fixed, if someone knows a workaround to accomplish the same
effect that does not require manipulating the "d" attribute itself, that would
be greatly appreciated. This functionality is needed for adding/removing nodes
in the SVG-edit project [2], and currently only works in Firefox & Opera.

[1] http://www.w3.org/TR/SVG/paths.html#InterfaceSVGPathSegList
[2] http://svg-edit.googlecode.com

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