LibWeb/CSS: Parse the & nesting selector

This commit is contained in:
Sam Atkins 2024-10-15 12:00:29 +01:00 committed by Andreas Kling
commit 5b4d1b5b05
Notes: github-actions[bot] 2024-10-17 18:57:46 +00:00
5 changed files with 23 additions and 9 deletions

View file

@ -503,6 +503,9 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector, int in
case CSS::Selector::SimpleSelector::Type::PseudoElement:
type_description = "PseudoElement";
break;
case CSS::Selector::SimpleSelector::Type::Nesting:
type_description = "Nesting";
break;
}
builder.appendff("{}:", type_description);