Bug 243412: Add box-sizing preference to control the vendor prefix; r=dbaron
authorLukas Nordin <lukasnordin11@gmail.com>
Tue, 04 Feb 2014 18:06:18 -0800
changeset 166839 75ac8af8c495
parent 166838 64a1fcd74a1b
child 166840 13f6dad08f3a
push id39304
push userdbaron@mozilla.com
push date2014-02-05 02:06 +0000
treeherdermozilla-inbound@13f6dad08f3a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdbaron
bugs243412
milestone30.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 243412: Add box-sizing preference to control the vendor prefix; r=dbaron
layout/style/nsCSSPropAliasList.h
modules/libpref/src/init/all.js
--- a/layout/style/nsCSSPropAliasList.h
+++ b/layout/style/nsCSSPropAliasList.h
@@ -113,17 +113,17 @@ CSS_PROP_ALIAS(-moz-animation-play-state
                "layout.css.prefixes.animations")
 CSS_PROP_ALIAS(-moz-animation-timing-function,
                animation_timing_function,
                MozAnimationTimingFunction,
                "layout.css.prefixes.animations")
 CSS_PROP_ALIAS(-moz-box-sizing,
                box_sizing,
                MozBoxSizing,
-               "")
+               "layout.css.prefixes.box-sizing")
 CSS_PROP_ALIAS(font-feature-settings,
                font_feature_settings,
                FontFeatureSettings,
                "layout.css.font-features.enabled")
 CSS_PROP_ALIAS(font-language-override,
                font_language_override,
                FontLanguageOverride,
                "layout.css.font-features.enabled")
--- a/modules/libpref/src/init/all.js
+++ b/modules/libpref/src/init/all.js
@@ -1780,16 +1780,17 @@ pref("layout.css.font-features.enabled",
 pref("layout.css.font-features.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);
+pref("layout.css.prefixes.box-sizing", true);
 
 // Is support for the :scope selector enabled?
 #ifdef RELEASE_BUILD
 pref("layout.css.scope-pseudo.enabled", false);
 #else
 pref("layout.css.scope-pseudo.enabled", true);
 #endif