[web-animations] Not clear behaviour for invalid cubic bezier timing function

Hi all,

It is said in the specification
(http://w3c.github.io/web-animations/#typedef-cubic-bezier-timing-function)

cubic-bezier(<number>, <number>, <number>, <number>)

    Specifies a cubic Bézier timing function. The four numbers specify
points P1 and P2 of the curve as (x1, y1, x2, y2). Both x values must
be in the range [0, 1] or the definition is invalid.

It is also said in the spec
(http://w3c.github.io/web-animations/#dom-animationtiming-easing) that:

Unrecognized string values or values that correspond to a timing function
that is not supported for the type of animation node to which this
property is applied are treated as if the linear keyword was specified for
the purpose of timing model calculations.

But it is not quite clear what behaviour should be if there are values
outside [0, 1] range and definition is invalid? Should invalid
cubic-bezier definition be treated as linear?

Thank you
--
Sergey G. Grekhov

Received on Tuesday, 3 February 2015 06:13:47 UTC