mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Support CSS shadow parts
This commit is contained in:
parent
667a753448
commit
a852c0a86a
10 changed files with 1882 additions and 29 deletions
|
|
@ -125,7 +125,8 @@ nsCSSPseudoClasses::HasStringArg(Type aType)
|
|||
aType == Type::mozSystemMetric ||
|
||||
aType == Type::mozLocaleDir ||
|
||||
aType == Type::mozDir ||
|
||||
aType == Type::dir;
|
||||
aType == Type::dir ||
|
||||
aType == Type::part;
|
||||
}
|
||||
|
||||
bool
|
||||
|
|
@ -210,5 +211,6 @@ nsCSSPseudoClasses::IsUserActionPseudoClass(Type aType)
|
|||
/* static */ bool
|
||||
nsCSSPseudoClasses::IsHybridPseudoElement(Type aType)
|
||||
{
|
||||
return aType == Type::slotted;
|
||||
return aType == Type::slotted ||
|
||||
aType == Type::part;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue