[Webkit-unassigned] [Bug 37413] New: Render SVG Paths up to first error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 11 09:45:44 PDT 2010


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

           Summary: Render SVG Paths up to first error
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: codedread at gmail.com


As part of their efforts for IE9, Microsoft has written several SVG tests. 
Some of these do not pass in WebKit.

This bug addresses the following test:

http://samples.msdn.microsoft.com/ietestcenter/svg112/svg_harness.htm?url=./svg112/svg/chapter_08.2.svg

which tests the requirement in the SVG 1.1 specification:

http://dev.w3.org/SVG/profiles/1.1F2/publish/implnote.html#PathElementImplementationNotes

"The general rule for error handling in path data is that the SVG user agent
shall render a ‘path’ element up to (but not including) the path command
containing the first error in the path data specification."

WebKit's SVG parser tosses out the entire path if any errors are encountered
and thus we see a red path on the fourth subtest.

I will attach a simple patch, with some LayoutTest stuff updated.  However, it
will require some reworking of the dom/svg/fuzz-path-parser.html test so I
wanted to see if folks agree with the fix first.

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