Skip to content

Commit 779cc2f

Browse files
committed
Bug 1753565 - Disable prefers-reduced-motion for tests. r=botond
Disable the prefers-reduced-motion preference for mochitests and web-platform-tests. Depends on D172446 Differential Revision: https://phabricator.services.mozilla.com/D174956 UltraBlame original commit: 6fb66b5e615328ae3841197e49d8e8f4b33c65f5
1 parent 1bdfd40 commit 779cc2f

File tree

2 files changed

+54
-0
lines changed

2 files changed

+54
-0
lines changed

testing/profiles/mochitest/user.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,30 @@ unsuppress_with_no_background
149149
true
150150
)
151151
;
152+
/
153+
/
154+
Disable
155+
prefers
156+
-
157+
reduced
158+
-
159+
motion
160+
to
161+
ensure
162+
that
163+
smooth
164+
scrolls
165+
can
166+
be
167+
tested
168+
.
169+
user_pref
170+
(
171+
"
172+
general
173+
.
174+
smoothScroll
175+
"
176+
true
177+
)
178+
;

testing/profiles/web-platform/user.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,3 +1063,30 @@ enabled
10631063
0
10641064
)
10651065
;
1066+
/
1067+
/
1068+
Disable
1069+
prefers
1070+
-
1071+
reduced
1072+
-
1073+
motion
1074+
to
1075+
ensure
1076+
that
1077+
smooth
1078+
scrolls
1079+
can
1080+
be
1081+
tested
1082+
.
1083+
user_pref
1084+
(
1085+
"
1086+
general
1087+
.
1088+
smoothScroll
1089+
"
1090+
true
1091+
)
1092+
;

0 commit comments

Comments
 (0)