mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Don't reject out of bound calc() values at parsing-time
https://bugzilla.mozilla.org/show_bug.cgi?id=1355014
This commit is contained in:
parent
12d46e7d01
commit
dfbd89860a
5 changed files with 70 additions and 29 deletions
|
@ -71,8 +71,8 @@ impl From<SpecifiedTimingFunction> for nsTimingFunction {
|
|||
},
|
||||
SpecifiedTimingFunction::CubicBezier(p1, p2) => {
|
||||
tf.set_as_bezier(nsTimingFunction_Type::CubicBezier,
|
||||
Point2D::new(p1.x.value, p1.y.value),
|
||||
Point2D::new(p2.x.value, p2.y.value));
|
||||
Point2D::new(p1.x.get(), p1.y.get()),
|
||||
Point2D::new(p2.x.get(), p2.y.get()));
|
||||
},
|
||||
SpecifiedTimingFunction::Keyword(keyword) => {
|
||||
match keyword.to_computed_value() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue