Backed out 2 changesets (bug 1448294, bug 1448337) for wpt and reftest failures on /mathml
Backed out changeset 180051cfe357 (bug 1448294) Backed out changeset c188176f3289 (bug 1448337)
This commit is contained in:
@@ -110,9 +110,9 @@ KeyframeEffect::SetTarget(const Nullable<ElementOrCSSPseudoElement>& aTarget)
|
||||
|
||||
if (mTarget) {
|
||||
UpdateTargetRegistration();
|
||||
RefPtr<ComputedStyle> computedStyle = GetTargetComputedStyle();
|
||||
if (computedStyle) {
|
||||
UpdateProperties(computedStyle);
|
||||
RefPtr<ComputedStyle> styleContext = GetTargetComputedStyle();
|
||||
if (styleContext) {
|
||||
UpdateProperties(styleContext);
|
||||
}
|
||||
|
||||
MaybeUpdateFrameForCompositor();
|
||||
@@ -163,9 +163,9 @@ KeyframeEffect::SetComposite(const CompositeOperation& aComposite)
|
||||
}
|
||||
|
||||
if (mTarget) {
|
||||
RefPtr<ComputedStyle> computedStyle = GetTargetComputedStyle();
|
||||
if (computedStyle) {
|
||||
UpdateProperties(computedStyle);
|
||||
RefPtr<ComputedStyle> styleContext = GetTargetComputedStyle();
|
||||
if (styleContext) {
|
||||
UpdateProperties(styleContext);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user