mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
LibWeb: Make :host() take a <compound-selector>
This matches the spec: https://drafts.csswg.org/css-scoping-1/#selectordef-host
This commit is contained in:
committed by
Andreas Kling
parent
b314a115ca
commit
b684bab5f1
@@ -496,6 +496,7 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector)
|
||||
builder.append(")"sv);
|
||||
break;
|
||||
}
|
||||
case CSS::PseudoClassMetadata::ParameterType::CompoundSelector:
|
||||
case CSS::PseudoClassMetadata::ParameterType::ForgivingSelectorList:
|
||||
case CSS::PseudoClassMetadata::ParameterType::SelectorList: {
|
||||
builder.append("(["sv);
|
||||
|
||||
Reference in New Issue
Block a user