From 407c86641a77a7d95db5f31b14f9f9f10c79d1e3 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Thu, 14 Jan 2021 16:05:53 +0000 Subject: 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. --- modules/libpref/init/all.js | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index a81f3ba55..a4ebdde3e 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -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? -- cgit v1.2.3