diff options
author | Simon Wanner <simon+git@skyrising.xyz> | 2023-03-20 23:42:17 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-03-21 10:45:19 +0100 |
commit | c8ebacb1c9f85070e6881c585978336e718dd6cc (patch) | |
tree | 3c6c409d1b26c750f47840b5252b60608c776b5b /Userland/Libraries/LibWeb/Dump.cpp | |
parent | a96ba912b38d2e30b927e36d8ca6850a395f9529 (diff) | |
download | serenity-c8ebacb1c9f85070e6881c585978336e718dd6cc.zip |
LibWeb: Support the :scope pseudo class
Diffstat (limited to 'Userland/Libraries/LibWeb/Dump.cpp')
-rw-r--r-- | Userland/Libraries/LibWeb/Dump.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Dump.cpp b/Userland/Libraries/LibWeb/Dump.cpp index 666924b989..147e0491c1 100644 --- a/Userland/Libraries/LibWeb/Dump.cpp +++ b/Userland/Libraries/LibWeb/Dump.cpp @@ -456,6 +456,9 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector) case CSS::Selector::SimpleSelector::PseudoClass::Type::Lang: pseudo_class_description = "Lang"; break; + case CSS::Selector::SimpleSelector::PseudoClass::Type::Scope: + pseudo_class_description = "Scope"; + break; } builder.appendff(" pseudo_class={}", pseudo_class_description); |