mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 16:48:12 +00:00
LibWeb: Parse CSS :host selector
Let's at least parse it, even if we don't implement matching for it yet.
This commit is contained in:
parent
6acce60393
commit
088cc4ea73
5 changed files with 12 additions and 0 deletions
|
@ -467,6 +467,9 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector)
|
|||
case CSS::Selector::SimpleSelector::PseudoClass::Type::Root:
|
||||
pseudo_class_description = "Root";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::Type::Host:
|
||||
pseudo_class_description = "Host";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::Type::FirstOfType:
|
||||
pseudo_class_description = "FirstOfType";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue