mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
style: Do not report error for unknown property if its known moz prefixed version is specified.
Suppose that `prop` is a property that we haven't supported yet, while its `-moz-prop` version is already supported. If an author specifies in a declaration block this property in its standard form as well as multiple verdor specific forms, as long as `-moz-prop` is specified, we shouldn't report error for unknown property `prop`. Because that's just noise. Differential Revision: https://phabricator.services.mozilla.com/D31998
This commit is contained in:
parent
bd1481039f
commit
af8e8e6a34
2 changed files with 25 additions and 10 deletions
|
@ -152,8 +152,6 @@ pub enum StyleParseErrorKind<'i> {
|
|||
|
||||
/// The property declaration was for an unknown property.
|
||||
UnknownProperty(CowRcStr<'i>),
|
||||
/// An unknown vendor-specific identifier was encountered.
|
||||
UnknownVendorProperty,
|
||||
/// The property declaration was for a disabled experimental property.
|
||||
ExperimentalProperty,
|
||||
/// The property declaration contained an invalid color value.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue