mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 01:35:35 +00:00
Bug 804944, patch 2: Also condition @-moz-keyframes parsing on the animations preference. r=bzbarsky
This commit is contained in:
parent
46a0a82458
commit
de551462db
@ -1611,7 +1611,8 @@ CSSParserImpl::ParseAtRule(RuleAppendFunc aAppendFunc,
|
||||
parseFunc = &CSSParserImpl::ParsePageRule;
|
||||
newSection = eCSSSection_General;
|
||||
|
||||
} else if (mToken.mIdent.LowerCaseEqualsLiteral("-moz-keyframes") ||
|
||||
} else if ((nsCSSProps::IsEnabled(eCSSPropertyAlias_MozAnimation) &&
|
||||
mToken.mIdent.LowerCaseEqualsLiteral("-moz-keyframes")) ||
|
||||
mToken.mIdent.LowerCaseEqualsLiteral("keyframes")) {
|
||||
parseFunc = &CSSParserImpl::ParseKeyframesRule;
|
||||
newSection = eCSSSection_General;
|
||||
|
Loading…
Reference in New Issue
Block a user