Sort out use of toolkit.cosmeticAnimations.enabled pref in CFRPageActions.jsm
Categories
(Firefox :: Messaging System, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox77 | --- | unaffected |
firefox78 | --- | fixed |
People
(Reporter: dao, Assigned: emcminn)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
toolkit.cosmeticAnimations.enabled
is going away. CFRPageActions.jsm
should either obey prefers-reduced-motion
or remove the ability to disable animations. I'm not sure how to test this feature and what happens with the animation disabled...
Reporter | ||
Comment 1•4 years ago
|
||
(In reply to Dão Gottwald [::dao] from comment #0)
I'm not sure how to test this feature and what happens with the animation disabled...
Apparently resource://activity-stream/data/content/assets/cfr_pinnedtab_static.png
is used then but that doesn't seem very informative. What exactly is the idea here?
Reporter | ||
Updated•4 years ago
|
Comment 2•4 years ago
|
||
Based on the pref we toggle between cfr_pinnedtab_animated@2x.png
and cfr_pinnedtab_static.png
(both in browser/components/newtab/data/content/assets
).
We can switch it to use prefers-reduced-motion
instead. Does the tracking flag for 78 mean the pref is going away in 78?
Updated•4 years ago
|
Reporter | ||
Comment 3•4 years ago
|
||
(In reply to Andrei Oprea [:andreio] from comment #2)
We can switch it to use
prefers-reduced-motion
instead. Does the tracking flag for 78 mean the pref is going away in 78?
It's basically dead at this point. Only CFRPageActions.jsm and alert.js still read it.
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Comment 6•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Description
•