mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 876626 - Make CanAnimateProperty correclty respect the CanAnimate_AllowPartial flag. r=dzbarsky
This commit is contained in:
parent
8d80792376
commit
7fcda688c9
@ -304,7 +304,10 @@ CommonElementAnimationData::CanAnimatePropertyOnCompositor(const dom::Element *a
|
||||
message.AppendLiteral("Performance warning: Async animations are disabled");
|
||||
LogAsyncAnimationFailure(message);
|
||||
}
|
||||
return enabled && (aFlags & CanAnimate_AllowPartial);
|
||||
bool propertyAllowed = (aProperty == eCSSProperty_transform) ||
|
||||
(aProperty == eCSSProperty_opacity) ||
|
||||
(aFlags & CanAnimate_AllowPartial);
|
||||
return enabled && propertyAllowed;
|
||||
}
|
||||
|
||||
/* static */ void
|
||||
|
Loading…
Reference in New Issue
Block a user