Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 815cc31eb213f065c78a32fe571643174e54d008
https://github.com/WebKit/WebKit/commit/815cc31eb213f065c78a32fe571643174e54d008
Author: Tim Nguyen <[email protected]>
Date: 2026-02-18 (Wed, 18 Feb 2026)
Changed paths:
M LayoutTests/TestExpectations
M Source/WebCore/css/html.css
M Source/WebCore/rendering/updating/RenderTreeBuilderFormControls.cpp
M Source/WebCore/rendering/updating/RenderTreeBuilderFormControls.h
M Source/WebCore/style/StyleTreeResolver.cpp
Log Message:
-----------
[appearance: base] Wire the pseudo element ::checkmark to <option> element
https://bugs.webkit.org/show_bug.cgi?id=305894
rdar://168599346
Reviewed by Antti Koivisto.
This will allow styling the checkmark which mark an <option> as selected in the
customizable select list.
* LayoutTests/TestExpectations:
* Source/WebCore/css/html.css:
(select option::checkmark):
(select option:not(:checked)::checkmark):
* Source/WebCore/rendering/updating/RenderTreeBuilderFormControls.cpp:
(WebCore::RenderTreeBuilder::FormControls::updateAfterDescendants):
(WebCore::RenderTreeBuilder::FormControls::updatePseudoElement):
* Source/WebCore/rendering/updating/RenderTreeBuilderFormControls.h:
* Source/WebCore/style/StyleTreeResolver.cpp:
(WebCore::Style::TreeResolver::resolvePseudoElement):
Canonical link: https://commits.webkit.org/307761@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications