[webkit-changes] [WebKit/WebKit] b0d172: [macOS] Refactor vector-based version of list buttons

Aditya Keerthi noreply at github.com
Fri Feb 28 12:31:11 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b0d172b4bb922f8e1ee921d94125d75fc2af553d
      https://github.com/WebKit/WebKit/commit/b0d172b4bb922f8e1ee921d94125d75fc2af553d
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2025-02-28 (Fri, 28 Feb 2025)

  Changed paths:
    M Source/WebCore/rendering/mac/RenderThemeMac.mm

  Log Message:
  -----------
  [macOS] Refactor vector-based version of list buttons
https://bugs.webkit.org/show_bug.cgi?id=288836
rdar://145827765

Reviewed by Abrar Rahman Protyasha and Tim Horton.

Painting list buttons on macOS has historically been done as part of painting
the textfield itself.

This patch moves even closer to the iOS model, to share more code with Catalyst.

* Source/WebCore/rendering/mac/RenderThemeMac.mm:
(WebCore::RenderThemeMac::canPaint const):
(WebCore::RenderThemeMac::adjustListButtonStyle const):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list