diff options
author | Moonchild <moonchild@palemoon.org> | 2020-08-10 12:13:10 +0200 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-10 12:13:10 +0200 |
commit | d3383327a749ddb5c0626146c6f83bdfa3ea9936 (patch) | |
tree | 7b9a9fef9870a7dc445bcae0b2d03b74377af272 | |
parent | 666e370292fc20813e885f8d88ad7ac384790627 (diff) | |
download | UXP-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.h | 5 |
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, |