ported from UXP: Issue #1791 - Part 1: Un-prefix -moz-appearance (a266b985)

This commit is contained in:
2026-01-07 23:38:06 +08:00
parent e8bf1a87fe
commit b54c1ff38d
4 changed files with 10 additions and 5 deletions
+5 -1
View File
@@ -251,6 +251,10 @@ CSS_PROP_ALIAS(-moz-tab-size,
tab_size,
MozTabSize,
"")
CSS_PROP_ALIAS(-moz-appearance,
appearance,
MozAppearance,
"layout.css.prefixes.appearance")
CSS_PROP_ALIAS(-moz-user-select,
user_select,
@@ -298,7 +302,7 @@ CSS_PROP_ALIAS(-webkit-animation-timing-function,
WEBKIT_PREFIX_PREF)
CSS_PROP_ALIAS(-webkit-appearance,
_moz_appearance,
appearance,
WebkitAppearance,
WEBKIT_PREFIX_PREF)
+3 -3
View File
@@ -461,9 +461,9 @@ CSS_PROP_DISPLAY(
CSS_PROP_NO_OFFSET,
eStyleAnimType_None)
CSS_PROP_DISPLAY(
-moz-appearance,
_moz_appearance,
CSS_PROP_DOMPROP_PREFIXED(Appearance),
appearance,
appearance,
Appearance,
CSS_PROPERTY_PARSE_VALUE,
"",
VARIANT_HK,
@@ -276,7 +276,7 @@ COMPUTED_STYLE_PROP(z_index, ZIndex)
* Implementations of -moz- styles *
\* ******************************* */
COMPUTED_STYLE_PROP(_moz_appearance, Appearance)
COMPUTED_STYLE_PROP(appearance, Appearance)
COMPUTED_STYLE_PROP(_moz_binding, Binding)
COMPUTED_STYLE_PROP(_moz_border_bottom_colors, BorderBottomColors)
COMPUTED_STYLE_PROP(_moz_border_left_colors, BorderLeftColors)
+1
View File
@@ -2708,6 +2708,7 @@ 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);
pref("layout.css.prefixes.appearance", true);
// Are webkit-prefixed properties & property-values supported?
pref("layout.css.prefixes.webkit", true);