servo/ports
Jeremy Chen 21148c7e51 stylo: do not handle the fallback discrete animation inside the Animate trait.
At present, we do the fallback discrete animation for non-invertible matrices in
ComputedMatrix.animate(). However, according to the spec, we should fallback to
discrete animation for cases like:

1. animation between transform with single non-invertible matrix
2. animation between transform with matched transform functions that have at least
   one non-invertible matrix
2. animation between transform with mismatched transform functions that have at
   least one non-invertible matrix.

The current implementation only handles the first case.

Moreover, we already have fallback discrete animation procedures in CSS Animation
and Web Animation, so we should be able to not doing any fallback inside the
Animate trait.

In this patch, we let the animation between non-invertible matrices to return Err().
So, we can propagate the Err() to the callers, and let the fallback discrete
animation procedure stay at the Servo_MatrixTransform_Operate, which is ouside
the Animate trait.
2017-09-21 15:30:18 +08:00
..
cef Use BrowserId and rename Browser to Servo in ports/ 2017-08-15 08:22:15 +02:00
geckolib stylo: do not handle the fallback discrete animation inside the Animate trait. 2017-09-21 15:30:18 +08:00
glutin Add key bindings for more WR debug / profiler options. 2017-08-18 06:41:28 +10:00
servo Made PipelineId non-zero, so optional ids take no more space. 2017-09-18 15:49:38 -05:00