mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:55:08 +00:00
LibWeb: Implement the :focus-within selector
This matches if it has focus, or any nodes inside it do.
This commit is contained in:
parent
4827092554
commit
d60b3be29a
4 changed files with 12 additions and 0 deletions
|
@ -405,6 +405,9 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector)
|
|||
case CSS::Selector::SimpleSelector::PseudoClass::Type::Focus:
|
||||
pseudo_class_description = "Focus";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::Type::FocusWithin:
|
||||
pseudo_class_description = "FocusWithin";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::Type::Empty:
|
||||
pseudo_class_description = "Empty";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue