mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 11:49:44 +00:00
LibWeb/CSS: Make :has()
take a <relative-selector-list>
The spec changed this at some point.
This commit is contained in:
parent
a94282e0e8
commit
ad1f93504e
Notes:
github-actions[bot]
2024-11-14 19:08:42 +00:00
Author: https://github.com/AtkinsSJ
Commit: ad1f93504e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2340
7 changed files with 40 additions and 14 deletions
|
@ -545,6 +545,7 @@ void dump_selector(StringBuilder& builder, CSS::Selector const& selector, int in
|
|||
case CSS::PseudoClassMetadata::ParameterType::CompoundSelector:
|
||||
case CSS::PseudoClassMetadata::ParameterType::ForgivingSelectorList:
|
||||
case CSS::PseudoClassMetadata::ParameterType::ForgivingRelativeSelectorList:
|
||||
case CSS::PseudoClassMetadata::ParameterType::RelativeSelectorList:
|
||||
case CSS::PseudoClassMetadata::ParameterType::SelectorList: {
|
||||
builder.append("([\n"sv);
|
||||
for (auto& child_selector : pseudo_class.argument_selector_list)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue