mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Upgrade cssparser to 0.15
This commit is contained in:
parent
66c130d55a
commit
b83afdedc8
42 changed files with 234 additions and 217 deletions
|
@ -281,7 +281,7 @@ fn parse_declaration_value_block<'i, 't>
|
|||
Token::Hash(ref value) |
|
||||
Token::IDHash(ref value) |
|
||||
Token::UnquotedUrl(ref value) |
|
||||
Token::Dimension(_, ref value) => {
|
||||
Token::Dimension { unit: ref value, .. } => {
|
||||
if value.ends_with("<EFBFBD>") && input.slice_from(token_start).ends_with("\\") {
|
||||
// Unescaped backslash at EOF in these contexts is interpreted as U+FFFD
|
||||
// Check the value in case the final backslash was itself escaped.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue