summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-10 12:13:10 +0200
committerMoonchild <moonchild@palemoon.org>2020-08-10 12:13:10 +0200
commitd3383327a749ddb5c0626146c6f83bdfa3ea9936 (patch)
tree7b9a9fef9870a7dc445bcae0b2d03b74377af272
parent666e370292fc20813e885f8d88ad7ac384790627 (diff)
downloadUXP-d3383327a749ddb5c0626146c6f83bdfa3ea9936.tar
UXP-d3383327a749ddb5c0626146c6f83bdfa3ea9936.tar.gz
UXP-d3383327a749ddb5c0626146c6f83bdfa3ea9936.tar.lz
UXP-d3383327a749ddb5c0626146c6f83bdfa3ea9936.tar.xz
UXP-d3383327a749ddb5c0626146c6f83bdfa3ea9936.zip
[CSS] Alias -webkit-appearance for compatibility reasons
Since this is supported as an alias by Firefox and Edge for the same reasons and we have websites using this to (attempt to) override the system-provided styling with their own, leaving out the only supported keyword we'd otherwise have (with -moz- prefix) but still stating -webkit-. TODO: unprefix this completely and make the vendor prefixes aliases.
-rw-r--r--layout/style/nsCSSPropAliasList.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/layout/style/nsCSSPropAliasList.h b/layout/style/nsCSSPropAliasList.h
index f7938af9e..9ec71b2cf 100644
--- a/layout/style/nsCSSPropAliasList.h
+++ b/layout/style/nsCSSPropAliasList.h
@@ -264,6 +264,11 @@ CSS_PROP_ALIAS(-webkit-animation-timing-function,
WebkitAnimationTimingFunction,
WEBKIT_PREFIX_PREF)
+CSS_PROP_ALIAS(-webkit-appearance,
+ appearance,
+ WebkitAppearance,
+ WEBKIT_PREFIX_PREF)
+
CSS_PROP_ALIAS(-webkit-filter,
filter,
WebkitFilter,