Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: e8a5d134f0c543b8b3085fe1c53750d166814139
https://github.com/WebKit/WebKit/commit/e8a5d134f0c543b8b3085fe1c53750d166814139
Author: Anne van Kesteren <[email protected]>
Date: 2026-03-27 (Fri, 27 Mar 2026)
Changed paths:
M LayoutTests/TestExpectations
M LayoutTests/fast/forms/switch/display-expected.txt
M LayoutTests/fast/forms/switch/display.html
M Source/WebCore/Headers.cmake
M Source/WebCore/SaferCPPExpectations/UncountedCallArgsCheckerExpectations
M Source/WebCore/SaferCPPExpectations/UnretainedLocalVarsCheckerExpectations
M Source/WebCore/SourcesCocoa.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/css/CSSPrimitiveValueMappings.h
M Source/WebCore/css/htmlSwitchControl.css
M Source/WebCore/platform/StyleAppearance.cpp
M Source/WebCore/platform/StyleAppearance.h
M Source/WebCore/platform/graphics/adwaita/ControlFactoryAdwaita.cpp
M Source/WebCore/platform/graphics/adwaita/ControlFactoryAdwaita.h
M Source/WebCore/platform/graphics/controls/ControlFactory.h
M Source/WebCore/platform/graphics/controls/EmptyControlFactory.cpp
M Source/WebCore/platform/graphics/controls/EmptyControlFactory.h
A Source/WebCore/platform/graphics/controls/SwitchPart.h
R Source/WebCore/platform/graphics/controls/SwitchThumbPart.h
R Source/WebCore/platform/graphics/controls/SwitchTrackPart.h
M Source/WebCore/platform/graphics/ios/controls/ControlFactoryIOS.h
M Source/WebCore/platform/graphics/ios/controls/ControlFactoryIOS.mm
M Source/WebCore/platform/graphics/mac/controls/ControlFactoryMac.h
M Source/WebCore/platform/graphics/mac/controls/ControlFactoryMac.mm
A Source/WebCore/platform/graphics/mac/controls/SwitchMac.h
A Source/WebCore/platform/graphics/mac/controls/SwitchMac.mm
R Source/WebCore/platform/graphics/mac/controls/SwitchThumbMac.h
R Source/WebCore/platform/graphics/mac/controls/SwitchThumbMac.mm
R Source/WebCore/platform/graphics/mac/controls/SwitchTrackMac.h
R Source/WebCore/platform/graphics/mac/controls/SwitchTrackMac.mm
M Source/WebCore/platform/video-codecs/cocoa/WebRTCVideoDecoderVTBVP9.mm
M Source/WebCore/rendering/RenderTheme.cpp
M Source/WebCore/rendering/RenderTheme.h
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.h
M Source/WebCore/rendering/cocoa/RenderThemeCocoa.mm
M Source/WebCore/rendering/mac/RenderThemeMac.mm
M Source/WebKit/Shared/WebCoreArgumentCoders.serialization.in
Log Message:
-----------
Use single internal appearance value for switch control
https://bugs.webkit.org/show_bug.cgi?id=310876
rdar://173487610
Reviewed by Aditya Keerthi.
This makes it more closely resemble equivalent controls and improves
the standardization story. This way the display property value will
match what is expected for replaced elements.
We retain the user agent shadow root implementation as we still plan to
expose it for the base appearance of this control (and possibly none
appearance).
Canonical link: https://commits.webkit.org/310143@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications