[Webkit-unassigned] [Bug 6157] New: WebCore+SVG has some problems with rounded rectangles

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Tue Dec 20 00:31:47 PST 2005


http://bugzilla.opendarwin.org/show_bug.cgi?id=6157

           Summary: WebCore+SVG has some problems with rounded rectangles
           Product: WebKit
           Version: 412+
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: dastling at gmail.com


Asymmetrical rounded rectangles, where rx != ry, do not seem to be supported in the latest WebKit 
build (Tue Dec 20 4:20 GMT 2005).  Also if either rx or ry attribute is omitted the rectangle is not 
rounded.  According to the SVG schema the missing attribute is assumed to be equal to the other.

For example , the larger green rectangle in the attached SVG file is missing the rx attribute, but is not 
rounded in WebKit.  Also the smaller blue rectangle should be asymmetrical, but is symmetrical in 
WebKit.

------------------------------------------------------

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   version="1.0"
   width="500"
   height="500">
  <rect
     width="400"
     height="400"
     ry="50"
     x="50"
     y="50"
     style="fill:#00ff00;fill-opacity:1;stroke:none"
     id="rectWithNoRx" />
  <rect
     width="200"
     height="300"
     rx="35"
     ry="150"
     x="150"
     y="100"
     style="fill:#0000ff;fill-opacity:1;stroke:none"
     id="rectAsym" />
</svg>

-- 
Configure bugmail: http://bugzilla.opendarwin.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