diff options
Diffstat (limited to 'components/style/custom_properties.rs')
-rw-r--r-- | components/style/custom_properties.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/style/custom_properties.rs b/components/style/custom_properties.rs index 5b7c125739a..0f22a0b075c 100644 --- a/components/style/custom_properties.rs +++ b/components/style/custom_properties.rs @@ -280,10 +280,10 @@ fn parse_declaration_value_block<'i, 't> } token.serialization_type() } - Token::BadUrl => - return Err(StyleParseError::BadUrlInDeclarationValueBlock.into()), - Token::BadString => - return Err(StyleParseError::BadStringInDeclarationValueBlock.into()), + Token::BadUrl(u) => + return Err(StyleParseError::BadUrlInDeclarationValueBlock(u).into()), + Token::BadString(s) => + return Err(StyleParseError::BadStringInDeclarationValueBlock(s).into()), Token::CloseParenthesis => return Err(StyleParseError::UnbalancedCloseParenthesisInDeclarationValueBlock.into()), Token::CloseSquareBracket => |