Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 47bc28e76bee093644b54bac231a254db6eca278
      
https://github.com/WebKit/WebKit/commit/47bc28e76bee093644b54bac231a254db6eca278
  Author: Joanne Pan <[email protected]>
  Date:   2026-10-14 (Wed, 14 Oct 2026)

  Changed paths:
    M Source/WebCore/rendering/BorderEdge.cpp
    M Source/WebCore/rendering/BorderEdge.h
    M Source/WebCore/rendering/OutlinePainter.cpp

  Log Message:
  -----------
  [AXCustomColorMode] Add a WebKitAdditions hook for outline colors
https://bugs.webkit.org/show_bug.cgi?id=327594
rdar://190057233

Reviewed by Simon Fraser.

Outlines are painted outside the border box, over the surface beneath the 
element, but
their color is resolved from the element itself rather than from that surface. 
Let
WebKitAdditions choose the outline color so it can suit the surface it is 
painted on.

* Source/WebCore/rendering/BorderEdge.cpp:
(WebCore::borderEdgesForOutline):
* Source/WebCore/rendering/BorderEdge.h:
* Source/WebCore/rendering/OutlinePainter.cpp:
(WebCore::outlineColor):
(WebCore::OutlinePainter::paintOutline const):

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



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

Reply via email to