Bug 1236506: Add support for "-webkit-filter" as an alias for CSS property "filter". r=heycam

This commit is contained in:
Daniel Holbert 2016-01-06 16:35:33 -08:00
parent a0b34c8dfb
commit 135725019e
2 changed files with 11 additions and 0 deletions

View File

@ -220,6 +220,10 @@ CSS_PROP_ALIAS(-webkit-animation-timing-function,
WebkitAnimationTimingFunction,
WEBKIT_PREFIX_PREF)
CSS_PROP_ALIAS(-webkit-filter,
filter,
WebkitFilter,
WEBKIT_PREFIX_PREF)
CSS_PROP_ALIAS(-webkit-text-size-adjust,
text_size_adjust,
WebkitTextSizeAdjust,

View File

@ -6784,6 +6784,13 @@ if (IsCSSPropertyPrefEnabled("layout.css.prefixes.webkit")) {
alias_for: "animation-timing-function",
subproperties: [ "animation-timing-function" ],
};
gCSSProperties["-webkit-filter"] = {
domProp: "webkitFilter",
inherited: false,
type: CSS_TYPE_SHORTHAND_AND_LONGHAND,
alias_for: "filter",
subproperties: [ "filter" ],
};
gCSSProperties["-webkit-text-size-adjust"] = {
domProp: "webkitTextSizeAdjust",
inherited: true,