mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-26 02:17:34 +09:00
Issue #2837 - Implement prefers-reduced-motion media query.
Resolves #2837
This commit is contained in:
parent
fcc58bfbba
commit
df3b213459
5 changed files with 47 additions and 6 deletions
|
|
@ -1265,8 +1265,12 @@ enum class StyleDisplay : uint8_t {
|
|||
#define NS_STYLE_DISPLAY_MODE_FULLSCREEN 3
|
||||
|
||||
// prefers-color-scheme
|
||||
#define NS_STYLE_PREFERS_COLOR_SCHEME_LIGHT 0
|
||||
#define NS_STYLE_PREFERS_COLOR_SCHEME_DARK 1
|
||||
#define NS_STYLE_PREFERS_COLOR_SCHEME_LIGHT 0
|
||||
#define NS_STYLE_PREFERS_COLOR_SCHEME_DARK 1
|
||||
|
||||
// prefers-reduced-motion
|
||||
#define NS_STYLE_PREFERS_FULL_MOTION 0
|
||||
#define NS_STYLE_PREFERS_REDUCED_MOTION 1
|
||||
|
||||
} // namespace mozilla
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue