Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 729c8c6ccb67f59c290dab45953c2b53eb603b34
      
https://github.com/WebKit/WebKit/commit/729c8c6ccb67f59c290dab45953c2b53eb603b34
  Author: Lily Spiniolas <[email protected]>
  Date:   2026-08-23 (Sun, 23 Aug 2026)

  Changed paths:
    A 
LayoutTests/fast/forms/form-control-refresh/spinbutton-window-inactive-state-dark-mode-expected-mismatch.html
    A 
LayoutTests/fast/forms/form-control-refresh/spinbutton-window-inactive-state-dark-mode.html
    A 
LayoutTests/fast/forms/form-control-refresh/spinbutton-window-inactive-state-light-mode-expected-mismatch.html
    A 
LayoutTests/fast/forms/form-control-refresh/spinbutton-window-inactive-state-light-mode.html
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/visionos/TestExpectations
    M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm

  Log Message:
  -----------
  Spin buttons for input type="number" do not repaint when window active state 
changes
https://bugs.webkit.org/show_bug.cgi?id=322353
rdar://185625389

Reviewed by Wenson Hsieh and Abrar Rahman Protyasha.

Update `RenderThemeCocoa::controlSupportsTints` to return true for
spin buttons, thus causing them to be repainted when the window active
state changes.

Tests: 
fast/forms/form-control-refresh/spinbutton-window-inactive-state-dark-mode.html
       
fast/forms/form-control-refresh/spinbutton-window-inactive-state-light-mode.html

* 
LayoutTests/fast/forms/form-control-refresh/spinbutton-window-inactive-state-dark-mode-expected-mismatch.html:
 Added.
* 
LayoutTests/fast/forms/form-control-refresh/spinbutton-window-inactive-state-dark-mode.html:
 Added.
* 
LayoutTests/fast/forms/form-control-refresh/spinbutton-window-inactive-state-light-mode-expected-mismatch.html:
 Added.
* 
LayoutTests/fast/forms/form-control-refresh/spinbutton-window-inactive-state-light-mode.html:
 Added.
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/visionos/TestExpectations:
* Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm:
(WebCore::RenderThemeCocoa::controlSupportsTints const):

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



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

Reply via email to