Bug 1273706 - Part 3: Add new pref to enable the Properties & Values API. r?dholbert
This will control whether or not CSS.registerProperty and
CSS.unregisterProperty are available. Behavior with existing CSS variables
should be the same.
MozReview-Commit-ID: DMGMQAX1Xd3
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2611,16 +2611,19 @@ pref("layout.css.font-loading-api.enable
// Should stray control characters be rendered visibly?
#ifdef RELEASE_BUILD
pref("layout.css.control-characters.visible", false);
#else
pref("layout.css.control-characters.visible", true);
#endif
+// Whether the Properties & Values API is enabled
+pref("layout.css.properties_and_values.enabled", false);
+
// pref for which side vertical scrollbars should be on
// 0 = end-side in UI direction
// 1 = end-side in document/content direction
// 2 = right
// 3 = left
pref("layout.scrollbar.side", 0);
// pref to stop overlay scrollbars from fading out, for testing purposes