Bug 1277092: Add EARLY_BETA_OR_EARLIER guard to prevent webkit prefix support & background-clip:text support from riding the Firefox 48 release train past early beta. r=emk a=ritu
authorDaniel Holbert <dholbert@cs.stanford.edu>
Thu, 02 Jun 2016 14:16:35 -0700
changeset 333207 277ad8a2a286a3666ad512aeb40adb05155ee745
parent 333206 29d57165e25bace7f383672b62bc9e4bb9b9380c
child 333208 832d04327aa03bfb9f2ab329eeff01a3d883d3a0
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemk, ritu
bugs1277092
milestone48.0a2
Bug 1277092: Add EARLY_BETA_OR_EARLIER guard to prevent webkit prefix support & background-clip:text support from riding the Firefox 48 release train past early beta. r=emk a=ritu MozReview-Commit-ID: Efl1s918KPo
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2403,17 +2403,21 @@ pref("layout.css.prefixes.border-image",
 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);
 pref("layout.css.prefixes.gradients", true);
 
 // Are webkit-prefixed properties & property-values supported?
+#ifdef EARLY_BETA_OR_EARLIER
 pref("layout.css.prefixes.webkit", true);
+#else
+pref("layout.css.prefixes.webkit", false);
+#endif
 
 // 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);
 
 // Is the CSS Unprefixing Service enabled? (This service emulates support
 // for certain vendor-prefixed properties & values, for sites on a "fixlist".)
@@ -2427,17 +2431,21 @@ pref("layout.css.unprefixing-service.glo
 
 // Is support for the :scope selector enabled?
 pref("layout.css.scope-pseudo.enabled", true);
 
 // Is support for background-blend-mode enabled?
 pref("layout.css.background-blend-mode.enabled", true);
 
 // Is support for background-clip:text enabled?
+#ifdef EARLY_BETA_OR_EARLIER
 pref("layout.css.background-clip-text.enabled", true);
+#else
+pref("layout.css.background-clip-text.enabled", false);
+#endif
 
 // Is support for CSS vertical text enabled?
 pref("layout.css.vertical-text.enabled", true);
 
 // Is support for CSS text-combine-upright (tate-chu-yoko) enabled?
 pref("layout.css.text-combine-upright.enabled", true);
 // Is support for CSS text-combine-upright: digits 2-4 enabled?
 pref("layout.css.text-combine-upright-digits.enabled", false);