From 6ea2cab4ee654a5e21bb08af55051c3caa437e89 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Thu, 29 Nov 2018 18:27:30 +0000 Subject: [PATCH] Bug 1337655 part 2: Turn off moz-prefixed CSS gradient functions for nightly. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D13298 --HG-- extra : moz-landing-system : lando --- modules/libpref/init/StaticPrefList.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/modules/libpref/init/StaticPrefList.h b/modules/libpref/init/StaticPrefList.h index 212075cbe857..98b3325d3b8f 100644 --- a/modules/libpref/init/StaticPrefList.h +++ b/modules/libpref/init/StaticPrefList.h @@ -714,12 +714,18 @@ VARCACHE_PREF( bool, true ) -// Is -moz-prefixed gradient functions enabled? +// Are -moz-prefixed gradient functions enabled? +#ifdef EARLY_BETA_OR_EARLIER +# define PREF_VALUE false +#else +# define PREF_VALUE true +#endif VARCACHE_PREF( "layout.css.prefixes.gradients", layout_css_prefixes_gradients, - bool, true + bool, PREF_VALUE ) +#undef PREF_VALUE // Whether the offset-* logical property aliases are enabled. VARCACHE_PREF(