1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:37:44 +00:00

LibWeb: Support CSS :only-of-type selector

This matches any element that doesn't have a sibling with the same tag
name as itself.
This commit is contained in:
Andreas Kling 2022-02-17 22:43:22 +01:00
parent b9b24cb1c1
commit 7c33a084fb
5 changed files with 31 additions and 10 deletions

View file

@ -57,6 +57,7 @@ public:
Root,
FirstOfType,
LastOfType,
OnlyOfType,
NthChild,
NthLastChild,
Disabled,