Open Bug 1362128 Opened 7 years ago Updated 2 years ago

Support querying `toolkit.cosmeticAnimations.enabled` from CSS

Categories

(Firefox :: Theme, enhancement)

enhancement

Tracking

()

People

(Reporter: squib, Unassigned)

References

Details

In order to actually disable animations, we need a way to query the state of `toolkit.cosmeticAnimations.enabled` in CSS. Currently, the easiest way to do this would be to set an attribute on the root element of the XUL for each window, but this is imperfect because using it affects CSS specificity.

Bug 1267890 proposes a better way by allowing us to query preferences directly from CSS. This would make life a lot easier for us, but it might not be feasible to get that done in time.

If anyone has other ideas, feel free to post them.
Blocks: 1355927
Component: Preferences → Theme
Depends on: 1267890
No longer blocks: 1355927
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.