mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-30 03:08:38 +09:00
Issue #2137 - Part 1: Modify :not() selector to accept a complex selector list
This commit is contained in:
parent
2249fbdf49
commit
82fa9fb80b
7 changed files with 83 additions and 35 deletions
|
|
@ -1952,6 +1952,17 @@ static bool SelectorMatches(Element* aElement,
|
|||
}
|
||||
break;
|
||||
|
||||
case CSSPseudoClassType::mozAnyPrivate:
|
||||
{
|
||||
if (!SelectorListMatches(aElement,
|
||||
pseudoClass,
|
||||
aNodeMatchContext,
|
||||
aTreeMatchContext)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case CSSPseudoClassType::host:
|
||||
{
|
||||
// In order to match :host, the element must be a shadow root host,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue