mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Borrow input to match_ignore_ascii_case!
In cssparser version 0.11, this macro will stop implicitly borrowing its own input.
This commit is contained in:
parent
4fa3e8e82c
commit
0f2d000a23
21 changed files with 62 additions and 61 deletions
|
@ -115,7 +115,7 @@ impl CSSKeyframesRuleMethods for CSSKeyframesRule {
|
|||
// https://github.com/w3c/csswg-drafts/issues/801
|
||||
// Setting this property to a CSS-wide keyword or `none` will
|
||||
// throw a Syntax Error.
|
||||
match_ignore_ascii_case! { value,
|
||||
match_ignore_ascii_case! { &value,
|
||||
"initial" => return Err(Error::Syntax),
|
||||
"inherit" => return Err(Error::Syntax),
|
||||
"unset" => return Err(Error::Syntax),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue