mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 07:45:30 +00:00
Bug 1632166 - Obey prefers-reduced-motion when animating toolbars for fullscreen mode. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D71959
This commit is contained in:
parent
78955d748f
commit
03c47b1185
@ -730,7 +730,7 @@ var FullScreen = {
|
||||
|
||||
if (
|
||||
aAnimate &&
|
||||
Services.prefs.getBoolPref("toolkit.cosmeticAnimations.enabled") &&
|
||||
window.matchMedia("(prefers-reduced-motion: no-preference)").matches &&
|
||||
!BrowserHandler.kiosk
|
||||
) {
|
||||
gNavToolbox.setAttribute("fullscreenShouldAnimate", true);
|
||||
|
Loading…
Reference in New Issue
Block a user