mirror of
https://github.com/RGBCube/serenity
synced 2025-06-28 16:42:12 +00:00
LibWeb: Support the :scope pseudo class
This commit is contained in:
parent
a96ba912b3
commit
c8ebacb1c9
6 changed files with 23 additions and 12 deletions
|
@ -456,6 +456,9 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector)
|
|||
case CSS::Selector::SimpleSelector::PseudoClass::Type::Lang:
|
||||
pseudo_class_description = "Lang";
|
||||
break;
|
||||
case CSS::Selector::SimpleSelector::PseudoClass::Type::Scope:
|
||||
pseudo_class_description = "Scope";
|
||||
break;
|
||||
}
|
||||
|
||||
builder.appendff(" pseudo_class={}", pseudo_class_description);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue