Bug 1337655 part 2 - Turn off moz-prefixed gradient functions for nightly. r?dbaron draft
authorXidorn Quan <me@upsuper.org>
Fri, 19 May 2017 13:41:51 +1000
changeset 580885 019e3045ce922ab6c0b7ec0e3dba2a6923a1eadb
parent 580883 abc31fe4dfea315a56713b56a545907754f0383f
child 629417 81c3abe4968d8348a82d4d9f3e4fd8afb0f70948
push id59697
push userxquan@mozilla.com
push dateFri, 19 May 2017 03:44:34 +0000
reviewersdbaron
bugs1337655
milestone55.0a1
Bug 1337655 part 2 - Turn off moz-prefixed gradient functions for nightly. r?dbaron MozReview-Commit-ID: LWnHGpokLYV
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2786,17 +2786,23 @@ pref("layout.css.font-variations.enabled
 
 // Are sets of prefixed properties supported?
 pref("layout.css.prefixes.border-image", true);
 pref("layout.css.prefixes.transforms", true);
 pref("layout.css.prefixes.transitions", true);
 pref("layout.css.prefixes.animations", true);
 pref("layout.css.prefixes.box-sizing", true);
 pref("layout.css.prefixes.font-features", true);
+
+// Is -moz-prefixed gradient functions enabled?
+#ifdef NIGHTLY_BUILD
+pref("layout.css.prefixes.gradients", false);
+#else
 pref("layout.css.prefixes.gradients", true);
+#endif
 
 // Are webkit-prefixed properties & property-values supported?
 pref("layout.css.prefixes.webkit", true);
 
 // Are "-webkit-{min|max}-device-pixel-ratio" media queries supported?
 // (Note: this pref has no effect if the master 'layout.css.prefixes.webkit'
 // pref is set to false.)
 pref("layout.css.prefixes.device-pixel-ratio-webkit", false);