summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/Dump.cpp
diff options
context:
space:
mode:
authorSimon Wanner <simon+git@skyrising.xyz>2023-03-20 23:42:17 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-21 10:45:19 +0100
commitc8ebacb1c9f85070e6881c585978336e718dd6cc (patch)
tree3c6c409d1b26c750f47840b5252b60608c776b5b /Userland/Libraries/LibWeb/Dump.cpp
parenta96ba912b38d2e30b927e36d8ca6850a395f9529 (diff)
downloadserenity-c8ebacb1c9f85070e6881c585978336e718dd6cc.zip
LibWeb: Support the :scope pseudo class
Diffstat (limited to 'Userland/Libraries/LibWeb/Dump.cpp')
-rw-r--r--Userland/Libraries/LibWeb/Dump.cpp3
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);