mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Implement :nth-child pseudo-class
This commit is contained in:
parent
1e0e8b27c0
commit
aa83539d7b
Notes:
sideshowbarker
2024-07-18 18:27:51 +09:00
Author: https://github.com/miere43
Commit: aa83539d7b
Pull-request: https://github.com/SerenityOS/serenity/pull/6968
Reviewed-by: https://github.com/awesomekling
6 changed files with 161 additions and 36 deletions
|
@ -351,6 +351,9 @@ void dump_selector(StringBuilder& builder, const CSS::Selector& selector)
|
|||
case CSS::Selector::SimpleSelector::PseudoClass::LastOfType:
|
||||
pseudo_class_description = "LastOfType";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::NthChild:
|
||||
pseudo_class_description = "NthChild";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::Focus:
|
||||
pseudo_class_description = "Focus";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue