mirror of
https://github.com/roytam1/basilisk55.git
synced 2026-05-26 15:02:46 +00:00
ported from UXP: Issue #1791 - Part 1: Un-prefix -moz-appearance (a266b985)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user