mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Make CSS selector parsing use StyleComponentValueRules
Also added some pseudo-classes that were handled in the deprecated parser: - :disabled - :enabled - :checked - :nth-child - :nth-last-child - :not
This commit is contained in:
committed by
Andreas Kling
parent
f7c79de0c5
commit
a558916e1f
@@ -78,6 +78,7 @@ public:
|
||||
// FIXME: We don't need this field on every single SimpleSelector, but it's also annoying to malloc it somewhere.
|
||||
// Only used when "pseudo_class" is "NthChild" or "NthLastChild".
|
||||
NthChildPattern nth_child_pattern;
|
||||
// FIXME: This wants to be a Selector, rather than parsing it each time it is used.
|
||||
String not_selector {};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user