[Webkit-unassigned] [Bug 221110] New: SVG size is much larger than should be (Safari TP �� 109) regression?

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 28 16:38:25 PST 2021


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

            Bug ID: 221110
           Summary: SVG size is much larger than should be (Safari TP ��
                    109) regression?
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: macOS 11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dimaqq at gmail.com

Created attachment 418680

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

Screenshot w Safari and Safari TP

Test: https://codepen.io/dimaqq/pen/MWbWWqN

Safari, Chrome, Firefox all display the ellipsis correctly (14x52px)
Safari TP �� (Release 119 (Safari 14.1, WebKit 16611.1.10.1)) displays a huge ellipsis (243x52px)
Thus, I think it's a regression.

The SVG has this content:

<svg width="14" height="3" viewBox="0 0 14 3" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.8393 3C12.6677 3 13.3393 2.32843 13.3393 1.5C13.3393 0.671573 12.6677 0 11.8393 0C11.0109 0 10.3393 0.671573 10.3393 1.5C10.3393 2.32843 11.0109 3 11.8393 3Z" fill="white"/>
<path d="M7.13922 3C7.96765 3 8.63922 2.32843 8.63922 1.5C8.63922 0.671573 7.96765 0 7.13922 0C6.31079 0 5.63922 0.671573 5.63922 1.5C5.63922 2.32843 6.31079 3 7.13922 3Z" fill="white"/>
<path d="M2.43927 3C3.2677 3 3.93927 2.32843 3.93927 1.5C3.93927 0.671573 3.2677 0 2.43927 0C1.61084 0 0.93927 0.671573 0.93927 1.5C0.93927 2.32843 1.61084 3 2.43927 3Z" fill="white"/>
</svg>

So... given an image 14x3px that needs to go into a 52px heigh div:
prod browsers make a block 14x52px and the image in it (visually) 14x3px (I expected 14x3 element with margin, but whatever)
and safari tp makes a block NNNx52px and the image in it visually NNNx52px.

P.S. I wish I could run the nightly build, but I'm not sure what version `run-webkit-archive` actually runs when every included framework trips on unsigned binary :(

-- 
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/20210129/2d49d7ad/attachment.htm>


More information about the webkit-unassigned mailing list