[webkit-changes] [WebKit/WebKit] 4498c4: Scroll corner painting ignores color-scheme when o...

Luke Warlow noreply at github.com
Sat Jul 1 10:32:20 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4498c483beb97701ef5ca9d7ee2050b86a8d924a
      https://github.com/WebKit/WebKit/commit/4498c483beb97701ef5ca9d7ee2050b86a8d924a
  Author: Luke Warlow <luke at warlow.dev>
  Date:   2023-07-01 (Sat, 01 Jul 2023)

  Changed paths:
    M Source/WebCore/page/LocalFrameView.cpp
    M Source/WebCore/platform/mac/ScrollbarThemeMac.mm

  Log Message:
  -----------
  Scroll corner painting ignores color-scheme when overflow: scroll
https://bugs.webkit.org/show_bug.cgi?id=258482

Reviewed by Aditya Keerthi.

Update the local appearance value before painting Mac scroll corner.

This means that the color-scheme is correctly accounted for when painting the scroll corner for both frame views and scrollable areas.

* Source/WebCore/page/LocalFrameView.cpp:
(WebCore::LocalFrameView::paintScrollCorner):
* Source/WebCore/platform/mac/ScrollbarThemeMac.mm:
(WebCore::ScrollbarThemeMac::paintScrollCorner):

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




More information about the webkit-changes mailing list