Cherry-pick some parts of the cssparser update.

This commit is contained in:
Emilio Cobos Álvarez 2019-12-16 14:23:24 +01:00
parent f7c5df5703
commit 7513bc293e
3 changed files with 8 additions and 8 deletions

View file

@ -396,7 +396,7 @@ impl<'a, 'i> ::selectors::Parser<'i> for SelectorParser<'a> {
parser,
)?.into()
)
}
},
_ => return Err(parser.new_custom_error(
SelectorParseErrorKind::UnsupportedPseudoClassOrElement(name.clone())
))