[Webkit-unassigned] [Bug 12122] New: SVGPathElement should not inherit from SVGPathParser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 5 01:09:40 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12122

           Summary: SVGPathElement should not inherit from SVGPathParser
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: macdome at opendarwin.org
                CC: zimmermann at kde.org


SVGPathElement should not inherit from SVGPathParser

The current design makes it very difficult for things like
SVGAnimateMotionElement to parse paths.  They have to create a heavy-weight
SVGPathElement, when all they want is something capable of parsing a path into
a SVGPathSegList

SVGPathElement is-a SVGPathParser, when it really should have-a SVGPathParser. 
all of the "this->createMoveTo" calls would just change to
"pathCreator->createMoveTo" calls, and the element could be passed into the
SVGPathParser.  There could even be an SVGSegList specific subclass which took
a seglist (or created one and then returned it).  SVGPathSegListPathParser
perhaps?


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