[Webkit-unassigned] [Bug 37431] New: Make comma/whitespace around arc flags optional in SVG path syntax

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Apr 11 19:52:03 PDT 2010


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

           Summary: Make comma/whitespace around arc flags optional in SVG
                    path syntax
           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


Created an attachment (id=53136)
 --> (https://bugs.webkit.org/attachment.cgi?id=53136)
Test case showing that comma/whitespace is optional between and after arc flags

As per recent W3C SVG WG discussion:
http://lists.w3.org/Archives/Public/www-svg/2010Apr/0042.html

All other browsers (Firefox, Opera, Batik, IE9) treat the whitespace/comma
between largeArcFlag and sweepFlag in the SVG arc path command syntax as
optional.  They also treat the whitespace/comma between sweepFlag and the
coordinate pair as optional.  

Finally only values of "0" and "1" are allowed for the largeArcFlag and
sweepFlag as per the path grammar:
http://dev.w3.org/SVG/profiles/1.1F2/publish/paths.html#PathDataBNF

I am attaching a test case.  This test case renders all paths as green in
Firefox, Opera and IE9.  This test case renders all paths as red in
WebKit-based browsers. 

I would like to suggest that WebKit align with what other browsers are doing,
especially considering that the WG considers this as 'proper' behavior.

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