[webkit-changes] [WebKit/WebKit] 1f677f: Draw attachment element icon using GraphicsContext

Nikos Mouchtaris noreply at github.com
Fri Dec 9 19:51:57 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1f677f0ad352cc3f587e0a9ff1bdb779e318a52d
      https://github.com/WebKit/WebKit/commit/1f677f0ad352cc3f587e0a9ff1bdb779e318a52d
  Author: Nikolaos Mouchtaris <nmouchtaris at apple.com>
  Date:   2022-12-09 (Fri, 09 Dec 2022)

  Changed paths:
    A LayoutTests/fast/attachment/mac/attachment-element-gpu-process-expected.html
    A LayoutTests/fast/attachment/mac/attachment-element-gpu-process.html
    M Source/WebCore/rendering/RenderThemeMac.mm

  Log Message:
  -----------
  Draw attachment element icon using GraphicsContext
https://bugs.webkit.org/show_bug.cgi?id=248976
rdar://103144926

Reviewed by Simon Fraser.

Now that we are flipping the geomtry of the icons again
after https://commits.webkit.org/257524@main, reland the
attachment element icon drawing logic from
https://commits.webkit.org/255903@main, calling with an
ImageOrientation::OriginBottomLeft since the icons have
their geometry flipped.

* Source/WebCore/rendering/RenderThemeMac.mm:
(WebCore::paintAttachmentIcon):

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




More information about the webkit-changes mailing list