mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibWeb: Remove :closed pseudo class
This was removed from the spec.
This commit is contained in:
parent
c937aff95a
commit
7c9a162f99
Notes:
github-actions[bot]
2024-12-06 04:50:27 +00:00
Author: https://github.com/lukewarlow
Commit: 7c9a162f99
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2801
Reviewed-by: https://github.com/ADKaster ✅
4 changed files with 1 additions and 11 deletions
|
@ -11,9 +11,6 @@
|
|||
"checked": {
|
||||
"argument": ""
|
||||
},
|
||||
"closed": {
|
||||
"argument": ""
|
||||
},
|
||||
"defined": {
|
||||
"argument": ""
|
||||
},
|
||||
|
|
|
@ -728,7 +728,6 @@ static inline bool matches_pseudo_class(CSS::Selector::SimpleSelector::PseudoCla
|
|||
return false;
|
||||
}
|
||||
case CSS::PseudoClass::Open:
|
||||
case CSS::PseudoClass::Closed:
|
||||
return matches_open_state_pseudo_class(element, pseudo_class.type == CSS::PseudoClass::Open);
|
||||
case CSS::PseudoClass::Modal: {
|
||||
// https://drafts.csswg.org/selectors/#modal-state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue