[Webkit-unassigned] [Bug 212972] New: stroke-dasharray wrong sizing on text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 9 08:20:19 PDT 2020


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

            Bug ID: 212972
           Summary: stroke-dasharray wrong sizing on text
           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: jeremie.patonnier at gmail.com
                CC: zimmermann at kde.org

Created attachment 401440

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

Firefox and Chrome rendering

It seams that stroke-dasharray applied on a an SVG <text> element isn't handled properly.

Here's a test case: https://codepen.io/JeremiePat/pen/ZEQbyKY

It looks like Safari isn't computing dash length properly. Safari is producing more than a hundred of dash where Firefox and Chrome only produce roughly ten dash (as expected). It feels like the dash are computed in the screen coordinate system without adjusting for the viewBox scale (see https://twitter.com/AmeliasBrain/status/1270353669897072645)

-- 
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/20200609/f66acc28/attachment-0001.htm>


More information about the webkit-unassigned mailing list