[Webkit-unassigned] [Bug 259772] New: REGRESSION: SVG rect with rx or ry set to zero is drawn incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 3 03:17:14 PDT 2023


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

            Bug ID: 259772
           Summary: REGRESSION: SVG rect with rx or ry set to zero is
                    drawn incorrectly
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: kari.pihkala at gmail.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

Created attachment 467192

  --> https://bugs.webkit.org/attachment.cgi?id=467192&action=review

rect-rxry.svg

Safari renders SVG <rect> elements with rx set to a value and ry set to a zero value with rounded corners. They should be drawn without rounded corners. The same happens if ry is set to a value and rx is set to a zero value.

The attached test case rect-rxry.svg ( fiddle: https://jsfiddle.net/d82x3nvs/ ) should have two rectangles drawn without rounded corners. Safari draws them with rounded corners.

Tested on Safari 16.5.2 (18615.2.9.11.10) and Safari Tech Preview Release 174 (Safari 17.0, WebKit 18616.1.22.1).

Firefox 115 and Chrome 115 render the test case correctly without rounded corners.

Safari 5.1.7 (7534.57.7) used to render the rectangles correctly without rounded corners. Rendering got broken some time after it and at least Safari 10.1.2 (12603.3.8) is drawing them incorrectly.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230803/b28a42f3/attachment-0001.htm>


More information about the webkit-unassigned mailing list