Issue #2837 - Implement prefers-reduced-motion media query.

Resolves #2837
This commit is contained in:
Moonchild 2025-08-08 10:59:59 +02:00 • committed by roytam1
commit df3b213459
5 changed files with 47 additions and 6 deletions

View file

@ -256,7 +256,6 @@ pref("browser.sessionhistory.max_total_viewers", -1);
// See https://github.com/MoonchildProductions/UXP/issues/719
pref("browser.newtabpage.add_to_session_history", false);
// Determines whether the browser's current theme should be light or dark.
// 0 = feature disabled
// 1 = default: light theme
@ -264,6 +263,11 @@ pref("browser.newtabpage.add_to_session_history", false);
pref("ui.color_scheme", 1);
pref("ui.use_native_colors", true);
// Whether websites should use reduced animation styles.
// Used for CSS @media query.
pref("ui.prefersReducedMotion", 0);
#ifdef MOZ_WIDGET_GTK
// Determines whether the menubar is shown in the global menubar or not.
pref("ui.use_global_menubar", false);