mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1402285 - Don't try to cache pseudo styles with an unstyled originating element. r=emilio
MozReview-Commit-ID: C4JNZFtYHBH
This commit is contained in:
parent
01fb3786f9
commit
cb69588ef2
@ -555,6 +555,7 @@ LazyPseudoIsCacheable(CSSPseudoElementType aType,
|
||||
{
|
||||
return aParentContext &&
|
||||
!nsCSSPseudoElements::IsEagerlyCascadedInServo(aType) &&
|
||||
aOriginatingElement->HasServoData() &&
|
||||
!Servo_Element_IsPrimaryStyleReusedViaRuleNode(aOriginatingElement);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user