summaryrefslogtreecommitdiffstats
path: root/layout
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-10 12:13:10 +0200
committerMoonchild <moonchild@palemoon.org>2020-08-30 09:24:02 +0000
commit5e8e0d05a683cc38b211088bb42355abb5282005 (patch)
treeab09e634ca3e34e681d05133bef2c28f512fbef9 /layout
parentbf95a03189d74d118d149b49ac5f45a134683fd6 (diff)
downloadUXP-5e8e0d05a683cc38b211088bb42355abb5282005.tar
UXP-5e8e0d05a683cc38b211088bb42355abb5282005.tar.gz
UXP-5e8e0d05a683cc38b211088bb42355abb5282005.tar.lz
UXP-5e8e0d05a683cc38b211088bb42355abb5282005.tar.xz
UXP-5e8e0d05a683cc38b211088bb42355abb5282005.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.
Diffstat (limited to 'layout')
-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,