mirror of
https://github.com/servo/servo.git
synced 2025-07-02 21:13:39 +01:00
style: Make numbers keep track of whether they were specified as calc().
This commit is contained in:
parent
c20bbb920c
commit
c7ce2ff483
9 changed files with 271 additions and 119 deletions
|
@ -65,7 +65,8 @@ impl From<SpecifiedTimingFunction> for nsTimingFunction {
|
|||
tf.set_as_step(nsTimingFunction_Type::StepEnd, steps);
|
||||
},
|
||||
SpecifiedTimingFunction::CubicBezier(p1, p2) => {
|
||||
tf.set_as_cubic_bezier(p1, p2);
|
||||
tf.set_as_cubic_bezier(Point2D::new(p1.x.value, p1.y.value),
|
||||
Point2D::new(p2.x.value, p2.y.value));
|
||||
},
|
||||
SpecifiedTimingFunction::Keyword(keyword) => {
|
||||
match keyword {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue