mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Keep not parsing conic gradient, update WPT expectations.
This commit is contained in:
parent
aa4d2b0b0d
commit
fd51cddf96
32 changed files with 7 additions and 1273 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue