Attachment #8369703: Added box-sizing preference for bug #243412

View | Details | Raw Unified | Return to bug 243412 | Differences between
and this patch

Collapse All | Expand All

(-)a/layout/style/nsCSSPropAliasList.h (-1 / +1 lines)
Line     Link Here 
 Lines 118-124    Link Here 
118
CSS_PROP_ALIAS(-moz-box-sizing,
118
CSS_PROP_ALIAS(-moz-box-sizing,
119
               box_sizing,
119
               box_sizing,
120
               MozBoxSizing,
120
               MozBoxSizing,
121
               "")
121
               "layout.css.prefixes.box-sizing")
122
CSS_PROP_ALIAS(font-feature-settings,
122
CSS_PROP_ALIAS(font-feature-settings,
123
               font_feature_settings,
123
               font_feature_settings,
124
               FontFeatureSettings,
124
               FontFeatureSettings,
(-)a/layout/style/nsCSSPropList.h (-1 / +1 lines)
Line     Link Here 
 Lines 1374-1380    Link Here 
1374
        CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
1374
        CSS_PROPERTY_VALUE_LIST_USES_COMMAS |
1375
        CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED,
1375
        CSS_PROPERTY_IGNORED_WHEN_COLORS_DISABLED,
1376
        // NOTE: some components must be nonnegative
1376
        // NOTE: some components must be nonnegative
1377
    "",
1377
    "layout.css.prefixes.box-sizing",
1378
    0,
1378
    0,
1379
    kBoxShadowTypeKTable,
1379
    kBoxShadowTypeKTable,
1380
    offsetof(nsStyleBorder, mBoxShadow),
1380
    offsetof(nsStyleBorder, mBoxShadow),
(-)a/modules/libpref/src/init/all.js (+1 lines)
Line     Link Here 
 Lines 1782-1787    Link Here 
1782
pref("layout.css.prefixes.transforms", true);
1782
pref("layout.css.prefixes.transforms", true);
1783
pref("layout.css.prefixes.transitions", true);
1783
pref("layout.css.prefixes.transitions", true);
1784
pref("layout.css.prefixes.animations", true);
1784
pref("layout.css.prefixes.animations", true);
1785
pref("layout.css.prefixes.box-sizing", true);
1785
// Is support for the :scope selector enabled?
1786
// Is support for the :scope selector enabled?
1786
#ifdef RELEASE_BUILD
1787
#ifdef RELEASE_BUILD

Return to bug 243412