SIGN IN SIGN UP

[WPE] prefers-reduced-motion is inverted, animations disabled by default

https://bugs.webkit.org/show_bug.cgi?id=325212

Reviewed by Patrick Griffis.

SystemSettingsManagerProxy::reducedMotion() negates the reduced-motion
setting, so the documented default of false reports that the user
prefers reduced motion. Every site that honours the
prefers-reduced-motion media query then disables its animations.

The negation is left over from enableAnimations(), which this function
replaced in 446267f9f445 ("[WPE][GTK] Improvements to platform media
queries (prefers reduced motion, high contrast, and dark theme)"). There
it was correct, because the value being read was the opposite setting,
WPE_SETTING_DISABLE_ANIMATIONS. Both the function and the setting
changed polarity together, so the negation has to go.

Canonical link: https://commits.webkit.org/322794@main
D
Daniel Golle committed
22dc00ff9f7c08a349948844a104f6b8d4255ce3
Parent: a3243e0
Committed by Patrick Griffis <pgriffis@igalia.com> on 10/6/2026, 2:02:35 AM