mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
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:
parent
09fc10c5c2
commit
e3e2ee64de
3 changed files with 36 additions and 30 deletions
|
@ -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,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue