mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 812344 - Don't use a qualified enum in CSSParserImpl::ParseDeclaration; r=roc
This commit is contained in:
parent
9531033387
commit
93231bd4cf
@ -4310,7 +4310,7 @@ CSSParserImpl::ParseDeclaration(css::Declaration* aDeclaration,
|
||||
nsCSSProperty propID = nsCSSProps::LookupProperty(propertyName,
|
||||
nsCSSProps::eEnabled);
|
||||
if (eCSSProperty_UNKNOWN == propID ||
|
||||
(aContext == nsCSSContextType::eCSSContext_Page &&
|
||||
(aContext == eCSSContext_Page &&
|
||||
!nsCSSProps::PropHasFlags(propID, CSS_PROPERTY_APPLIES_TO_PAGE_RULE))) { // unknown property
|
||||
if (!NonMozillaVendorIdentifier(propertyName)) {
|
||||
REPORT_UNEXPECTED_P(PEUnknownProperty, propertyName);
|
||||
|
Loading…
Reference in New Issue
Block a user