style: linear(...) easing: Parsing should split a linear stop value into two for entries with both linear-stop-length set

This brings the behaviour inline with `linear-gradient(...)`

Differential Revision: https://phabricator.services.mozilla.com/D149926
This commit is contained in:
David Shin 2022-06-28 11:31:34 +00:00 committed by Martin Robinson
parent 09fc10c5c2
commit e3e2ee64de
3 changed files with 36 additions and 30 deletions

View file

@ -24,8 +24,8 @@ impl ComputedLinearStop {
) -> PiecewiseLinearFunctionBuildParameters {
(
x.output,
x.input_start.into_rust().map(|x| x.0),
x.input_end.into_rust().map(|x| x.0),
x.input.into_rust().map(|x| x.0),
None,
)
}
}