[Webkit-unassigned] [Bug 218299] New: Incorrect calc percent values in SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 28 11:31:39 PDT 2020


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

            Bug ID: 218299
           Summary: Incorrect calc percent values in SVG
           Product: WebKit
           Version: Safari 13
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: zbbjornson at gmail.com
                CC: zimmermann at kde.org

https://jsfiddle.net/u4kp7jLx/2/

In this example, the two circles differ only in the value of --t1:
  --t1: calc(100% - 4px); /* bug */
  --t1: calc(100px - 4px); /* okay */

That's applied to an SVG element with width=100 height=100, so 100% == 100px.

This works correctly in Firefox and Chrome.

(Safari 13.1.2)

-- 
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/20201028/7407174f/attachment.htm>


More information about the webkit-unassigned mailing list