Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7fc4f613d53e336986f05fc1177e94eadff801d6
      
https://github.com/WebKit/WebKit/commit/7fc4f613d53e336986f05fc1177e94eadff801d6
  Author: Tim Nguyen <[email protected]>
  Date:   2023-07-03 (Mon, 03 Jul 2023)

  Changed paths:
    M Source/WebCore/html/shadow/attachmentElementShadow.css

  Log Message:
  -----------
  REGRESSION(265615@main): <attachment> icon is stretched
https://bugs.webkit.org/show_bug.cgi?id=258832
rdar://111697949

Reviewed by Wenson Hsieh.

Using <img> by default will stretch the icon, adding `object-fit: contain` 
makes sure the original image aspect ratio is honored, restoring the old 
behavior.

* Source/WebCore/html/shadow/attachmentElementShadow.css:
(img#attachment-icon):

Canonical link: https://commits.webkit.org/265742@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to