mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Add selector support to the new CSSParser
This is stolen from the old parser, but it seems to parse fine :^)
This commit is contained in:
@@ -53,6 +53,7 @@ public:
|
||||
HasAttribute,
|
||||
ExactValueMatch,
|
||||
Contains,
|
||||
StartsWith,
|
||||
};
|
||||
|
||||
AttributeMatchType attribute_match_type { AttributeMatchType::None };
|
||||
@@ -67,6 +68,7 @@ public:
|
||||
Descendant,
|
||||
AdjacentSibling,
|
||||
GeneralSibling,
|
||||
Column,
|
||||
};
|
||||
Relation relation { Relation::None };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user