Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c5c4584117e4f975b57b25dc8fb181e1366e81fa
      
https://github.com/WebKit/WebKit/commit/c5c4584117e4f975b57b25dc8fb181e1366e81fa
  Author: Joanne Pan <[email protected]>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M Source/WebCore/rendering/BackgroundPainter.cpp

  Log Message:
  -----------
  [AXCustomColorMode] Move the box-shadow color hook onto 
AXCustomColorModeController
https://bugs.webkit.org/show_bug.cgi?id=324765
rdar://188036016

Reviewed by Simon Fraser.

The shadow color hook only received the shadow's color, so it could not 
distinguish a
drop shadow from a zero-blur zero-offset shadow standing in for a border. Pass 
the whole
Style::BoxShadow, and make it a static member of AXCustomColorModeController 
rather than
a prefixed free function.

* Source/WebCore/rendering/BackgroundPainter.cpp:
(WebCore::applyBoxShadowForBackground):
(WebCore::BackgroundPainter::paintBoxShadow):

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



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

Reply via email to