diff options
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp index d513f66b17..10923271be 100644 --- a/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp +++ b/Userland/Libraries/LibWeb/CSS/Parser/Parser.cpp @@ -494,6 +494,8 @@ Parser::ParseErrorOr<Selector::SimpleSelector> Parser::parse_pseudo_simple_selec return make_pseudo_class_selector(Selector::SimpleSelector::PseudoClass::Type::Checked); if (pseudo_name.equals_ignoring_ascii_case("indeterminate"sv)) return make_pseudo_class_selector(Selector::SimpleSelector::PseudoClass::Type::Indeterminate); + if (pseudo_name.equals_ignoring_ascii_case("defined"sv)) + return make_pseudo_class_selector(Selector::SimpleSelector::PseudoClass::Type::Defined); if (pseudo_name.equals_ignoring_ascii_case("disabled"sv)) return make_pseudo_class_selector(Selector::SimpleSelector::PseudoClass::Type::Disabled); if (pseudo_name.equals_ignoring_ascii_case("empty"sv)) |