mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
LibWeb: Parse and match basic "contains" attribute selectors (~=)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user