summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/CSS/Selector.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibWeb/CSS/Selector.h')
-rw-r--r--Userland/Libraries/LibWeb/CSS/Selector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/CSS/Selector.h b/Userland/Libraries/LibWeb/CSS/Selector.h
index eef67017ee..bd20ad111f 100644
--- a/Userland/Libraries/LibWeb/CSS/Selector.h
+++ b/Userland/Libraries/LibWeb/CSS/Selector.h
@@ -112,6 +112,7 @@ public:
Active,
Lang,
Scope,
+ Defined,
};
Type type;
@@ -295,6 +296,8 @@ constexpr StringView pseudo_class_name(Selector::SimpleSelector::PseudoClass::Ty
return "lang"sv;
case Selector::SimpleSelector::PseudoClass::Type::Scope:
return "scope"sv;
+ case Selector::SimpleSelector::PseudoClass::Type::Defined:
+ return "defined"sv;
}
VERIFY_NOT_REACHED();
}