Bug 841873: Pref off CSS3 flexbox in release builds, by default. r=dbaron
authorDaniel Holbert <dholbert@cs.stanford.edu>
Sat, 16 Feb 2013 09:52:27 -0800
changeset 132014 b682c1433cbfddcd409cde84548d6bc21b57ab62
parent 132013 1fae6592d663d4563c0f83f910d8b4d63e9e0440
child 132015 0f9734e836ec6bf6be22e622e86a1a0c786a33e7
push id2323
push userbbajaj@mozilla.com
push dateMon, 01 Apr 2013 19:47:02 +0000
treeherdermozilla-beta@7712be144d91 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs841873
milestone21.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 841873: Pref off CSS3 flexbox in release builds, by default. r=dbaron
modules/libpref/src/init/all.js
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -1678,17 +1678,21 @@ pref("layout.css.masking.enabled", true)
 // Is support for the the @supports rule enabled?
 #ifdef RELEASE_BUILD
 pref("layout.css.supports-rule.enabled", false);
 #else
 pref("layout.css.supports-rule.enabled", true);
 #endif
 
 // Is support for CSS Flexbox enabled?
+#ifdef RELEASE_BUILD
+pref("layout.css.flexbox.enabled", false);
+#else
 pref("layout.css.flexbox.enabled", true);
+#endif
 
 // 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);
 
 // Is support for the :scope selector enabled?