mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
LibWeb/CSS: Add :unchecked pseudo-class
This just got added to the Selectors spec:
b78c97c19d
It's thus missing from the HTML spec and WPT, but I figured it was
simple enough to add.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
b973c8d275
commit
632ce9523b
Notes:
github-actions[bot]
2025-07-15 19:28:57 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/632ce9523ba Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5459 Reviewed-by: https://github.com/gmta ✅
@@ -167,7 +167,10 @@ void HTMLInputElement::set_checked(bool checked)
|
||||
|
||||
invalidate_style(
|
||||
DOM::StyleInvalidationReason::HTMLInputElementSetChecked,
|
||||
{ { .type = CSS::InvalidationSet::Property::Type::PseudoClass, .value = CSS::PseudoClass::Checked } },
|
||||
{
|
||||
{ .type = CSS::InvalidationSet::Property::Type::PseudoClass, .value = CSS::PseudoClass::Checked },
|
||||
{ .type = CSS::InvalidationSet::Property::Type::PseudoClass, .value = CSS::PseudoClass::Unchecked },
|
||||
},
|
||||
{});
|
||||
|
||||
if (auto* paintable = this->paintable())
|
||||
|
||||
Reference in New Issue
Block a user