mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 00:08:39 +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
|
|
@ -122,7 +122,9 @@ bool
|
|||
nsCSSPseudoClasses::HasSelectorListArg(Type aType)
|
||||
{
|
||||
return HasForgivingSelectorListArg(aType) ||
|
||||
aType == Type::negation ||
|
||||
aType == Type::mozAny ||
|
||||
aType == Type::mozAnyPrivate ||
|
||||
aType == Type::host ||
|
||||
aType == Type::hostContext;
|
||||
}
|
||||
|
|
@ -133,6 +135,12 @@ nsCSSPseudoClasses::HasOptionalSelectorListArg(Type aType)
|
|||
return aType == Type::host;
|
||||
}
|
||||
|
||||
bool
|
||||
nsCSSPseudoClasses::IsHiddenFromSerialization(Type aType)
|
||||
{
|
||||
return aType == Type::mozAnyPrivate;
|
||||
}
|
||||
|
||||
void
|
||||
nsCSSPseudoClasses::PseudoTypeToString(Type aType, nsAString& aString)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue