mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:57:44 +00:00
LibWeb: Support the :last-of-type CSS selector :^)
This commit is contained in:
parent
0eb9a9dd13
commit
1d065aa51b
6 changed files with 25 additions and 0 deletions
|
@ -362,6 +362,9 @@ void dump_selector(StringBuilder& builder, const CSS::Selector& selector)
|
|||
case CSS::Selector::SimpleSelector::PseudoClass::FirstOfType:
|
||||
pseudo_class_description = "FirstOfType";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::LastOfType:
|
||||
pseudo_class_description = "LastOfType";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::Focus:
|
||||
pseudo_class_description = "Focus";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue