[Webkit-unassigned] [Bug 229803] New: border-image-slice distorted when using with border-width

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 2 06:39:48 PDT 2021


            Bug ID: 229803
           Summary: border-image-slice distorted when using with
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: brandon at dreamthinkbuild.com

Created attachment 437145

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

Browser screenshots

`border-image-slice` in all other browser rendering engines maintains aspect ratio and displays more or fewer of the `border-image` as the `border-width` increases or decreases. Only on WebKit, does the `border-image` stretch/squish and distort the aspect ratio rather than displaying more or fewer `border-image` instances.

This can be reproduced reliably in any environment, and can be seen on the MDN docs page for `border-image-slice`. Scroll down to the interactive preview and drag the `border-width` range slider handle either left or right while keeping the `border-image-slice` handle stationary at 30. In Safari/WebKit, you will see the `border-image` become distorted, whereas in other browsers you will see the border shrink or grow and fit in more or fewer `border-image` instances.

MDN `border-image-slice` example intrapage link: https://developer.mozilla.org/en-US/docs/Web/CSS/border-image-slice#result


I have attached screenshots of WebKit vs. Firefox/Chrome.

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/20210902/61be5a91/attachment.htm>

More information about the webkit-unassigned mailing list