[Webkit-unassigned] [Bug 87859] New: Bug: Negative SVG rect rx, ry corner radii values aren't handled correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 30 09:11:35 PDT 2012


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

           Summary: Bug: Negative SVG rect rx,ry corner radii values
                    aren't handled correctly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: giles_joplin at yahoo.com
                CC: zimmermann at kde.org


Created an attachment (id=144834)
 --> (https://bugs.webkit.org/attachment.cgi?id=144834&action=review)
HTML file contains failing SVG rect negative rx,ry test cases

The SVG specification says that negative values for rx,ry "rect" corner radii aren't allowed and that if "if neither rx nor ry are properly specified, then set both rx and ry to 0. (This will result in square corners.)" - http://www.w3.org/TR/SVG/shapes.html#RectElement. Similarly, if only one of rx,ry is negative then the other attribute (default 0) should be used for both.

The current implementation fails in all three cases:

<rect x="100" y="100" width="200" height="100" rx="-90" ry="-40"/>
<rect x="100" y="100" width="200" height="100" rx="-90" ry="40"/>
<rect x="100" y="100" width="200" height="100" rx="90" ry="-40"/>

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