style: Parsing for relative selectors in :has()

Differential Revision: https://phabricator.services.mozilla.com/D171358
This commit is contained in:
David Shin 2023-03-07 18:04:27 +00:00 committed by Martin Robinson
parent b6db94bdf5
commit f7b29ac432
5 changed files with 208 additions and 65 deletions

View file

@ -717,7 +717,8 @@ where
Component::Scope |
Component::ParentSelector |
Component::Nth(..) |
Component::Host(None) => 0,
Component::Host(None) |
Component::RelativeSelectorAnchor => 0,
}
}
}