From d3383327a749ddb5c0626146c6f83bdfa3ea9936 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Mon, 10 Aug 2020 12:13:10 +0200 Subject: [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. --- layout/style/nsCSSPropAliasList.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'layout/style/nsCSSPropAliasList.h') 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, -- cgit v1.2.3