Store COW strings in CSS parser errors when possible.

This commit is contained in:
Josh Matthews 2017-07-19 12:57:07 -04:00
parent 2bb4f65100
commit bbf3280fef
3 changed files with 3 additions and 3 deletions

View file

@ -124,7 +124,7 @@ pub enum PropertyDeclarationParseError<'i> {
/// The property declaration was for a disabled experimental property.
ExperimentalProperty,
/// The property declaration contained an invalid value.
InvalidValue(String),
InvalidValue(CompactCowStr<'i>),
/// The declaration contained an animation property, and we were parsing
/// this as a keyframe block (so that property should be ignored).
///