mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Store COW strings in CSS parser errors when possible.
This commit is contained in:
parent
2bb4f65100
commit
bbf3280fef
3 changed files with 3 additions and 3 deletions
|
@ -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).
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue