mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 780340 - Allow compositor-driven animations of visibility r=mattwoodrow
This commit is contained in:
parent
73bfeb5a23
commit
fecc44c62d
@ -230,6 +230,9 @@ CommonElementAnimationData::CanAnimatePropertyOnCompositor(const dom::Element *a
|
||||
}
|
||||
|
||||
nsIFrame* frame = aElement->GetPrimaryFrame();
|
||||
if (aProperty == eCSSProperty_visibility) {
|
||||
return true;
|
||||
}
|
||||
if (aProperty == eCSSProperty_opacity) {
|
||||
bool enabled = nsLayoutUtils::AreOpacityAnimationsEnabled();
|
||||
if (!enabled && sShouldLog) {
|
||||
|
Loading…
Reference in New Issue
Block a user