Revert "Support CSS shadow parts"

This reverts commit a852c0a86a.
This commit is contained in:
Basilisk-Dev 2026-05-11 09:43:27 -04:00 committed by wuggy
commit 3df0ae2323
10 changed files with 29 additions and 1882 deletions

View file

@ -125,8 +125,7 @@ nsCSSPseudoClasses::HasStringArg(Type aType)
aType == Type::mozSystemMetric ||
aType == Type::mozLocaleDir ||
aType == Type::mozDir ||
aType == Type::dir ||
aType == Type::part;
aType == Type::dir;
}
bool
@ -211,6 +210,5 @@ nsCSSPseudoClasses::IsUserActionPseudoClass(Type aType)
/* static */ bool
nsCSSPseudoClasses::IsHybridPseudoElement(Type aType)
{
return aType == Type::slotted ||
aType == Type::part;
return aType == Type::slotted;
}