Issue #1689 - Part 2: Add a preference for implicit keyframes

This preference controls whether authors are allowed to specify animations
without a 0% or 100% keyframe.

We intend to ship this but it isn't implemented yet (needs a follow-up) but this
preference acts as a safeguard in case we discover we need to disable it once
it's implemented.
This commit is contained in:
Moonchild 2021-01-14 16:05:53 +00:00 • committed by roytam1
commit d9693c298c
5 changed files with 35 additions and 10 deletions

View file

@ -2719,6 +2719,7 @@ pref("dom.animations-api.core.enabled", false);
pref("dom.animations-api.core.enabled", true);
#endif
pref("dom.animations-api.timelines.enabled", false);
pref("dom.animations-api.implicit-keyframes.enabled", false);
// Is support for the Element.animate() function (a subset of the Web Animations
// API) enabled?