Keep not parsing conic gradient, update WPT expectations.

This commit is contained in:
Emilio Cobos Álvarez 2021-02-26 19:53:20 +01:00
parent aa4d2b0b0d
commit fd51cddf96
32 changed files with 7 additions and 1273 deletions

View file

@ -826,7 +826,7 @@ impl Gradient {
AngleOrPercentage::parse_with_unitless,
)?;
if items.len() < 2 {
if cfg!(feature = "servo") || items.len() < 2 {
return Err(input.new_custom_error(StyleParseErrorKind::UnspecifiedError));
}