summaryrefslogtreecommitdiff
path: root/Libraries/LibWeb/Dump.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-06-10 15:43:41 +0200
committerAndreas Kling <kling@serenityos.org>2020-06-10 15:43:41 +0200
commit65c4e5cacfcaa28fdb9f234474ae2958f8cd5aaf (patch)
treec31e8ab93666e11e00d086734553c40c1f4cae4c /Libraries/LibWeb/Dump.cpp
parenta38a5d50ab973dc2a54e13db68ab6793b3f85a7a (diff)
downloadserenity-65c4e5cacfcaa28fdb9f234474ae2958f8cd5aaf.zip
LibWeb: Parse and match basic "contains" attribute selectors (~=)
Diffstat (limited to 'Libraries/LibWeb/Dump.cpp')
-rw-r--r--Libraries/LibWeb/Dump.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Libraries/LibWeb/Dump.cpp b/Libraries/LibWeb/Dump.cpp
index 77c3acc95b..42ce636a19 100644
--- a/Libraries/LibWeb/Dump.cpp
+++ b/Libraries/LibWeb/Dump.cpp
@@ -242,6 +242,9 @@ void dump_selector(const Selector& selector)
case Selector::SimpleSelector::AttributeMatchType::ExactValueMatch:
attribute_match_type_description = "ExactValueMatch";
break;
+ case Selector::SimpleSelector::AttributeMatchType::Contains:
+ attribute_match_type_description = "Contains";
+ break;
}
dbgprintf("%s:%s", type_description, simple_selector.value.characters());