mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 02:29:21 +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:
parent
5acac54085
commit
55446172cb
Notes:
sideshowbarker
2024-07-18 18:53:12 +09:00
Author: https://github.com/stelar7
Commit: 55446172cb
Pull-request: https://github.com/SerenityOS/serenity/pull/6740
Reviewed-by: https://github.com/alimpfard
6 changed files with 236 additions and 2 deletions
|
@ -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 };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue