mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Add remaining CSS AttributeMatchTypes
This adds: - ContainsString [att*=val] - StartsWithSegment [att|=val] - StartsWithString [att^=val] - EndsWithString [att$=val] Renamed AttributeMatchType::Contains to ::ContainsWord for clarity.
This commit is contained in:
committed by
Andreas Kling
parent
29d78bba4b
commit
7fefe34797
@@ -60,8 +60,11 @@ public:
|
||||
None,
|
||||
HasAttribute,
|
||||
ExactValueMatch,
|
||||
Contains,
|
||||
StartsWith,
|
||||
ContainsWord, // [att~=val]
|
||||
ContainsString, // [att*=val]
|
||||
StartsWithSegment, // [att|=val]
|
||||
StartsWithString, // [att^=val]
|
||||
EndsWithString, // [att$=val]
|
||||
};
|
||||
|
||||
AttributeMatchType attribute_match_type { AttributeMatchType::None };
|
||||
|
||||
Reference in New Issue
Block a user