servo/components
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
..
atoms Do not NIH queueing a task to fire an event in htmlmediaelement 2017-09-04 16:14:04 +02:00
bluetooth Use BluetoohAdapter mock when bluetooth is disabled 2017-09-17 12:15:00 +02:00
bluetooth_traits
canvas Improve Webrender<->WebGL synchronization 2017-09-20 11:48:11 +02:00
canvas_traits Improve Webrender<->WebGL synchronization 2017-09-20 11:48:11 +02:00
compositing Update WR (font variations, runtime dp ratio changes) 2017-09-21 10:11:30 +10:00
config enable antialiasing by default 2017-08-29 17:50:26 +02:00
constellation Auto merge of #17083 - danielj41:javascript-url-global-3, r=jdm 2017-09-09 04:39:43 -05:00
debugger
deny_public_fields deny_public_fields: display field identifier in help message 2017-06-25 18:12:43 +01:00
devtools Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
devtools_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
dom_struct Use the better TokenStream API in dom_struct 2017-09-01 12:15:12 +02:00
domobject_derive Fix quote dependency version 2017-08-23 18:35:42 +02:00
fallible Bug 1398593 - stylo: mitigate performance impact of fallible allocation on stylist rebuilds. r=emilio. 2017-09-12 15:18:49 +02:00
geometry
gfx Update WR (font variations, runtime dp ratio changes) 2017-09-21 10:11:30 +10:00
gfx_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
hashglobe Bug 1398593 - stylo: mitigate performance impact of fallible allocation on stylist rebuilds. r=emilio. 2017-09-12 15:18:49 +02:00
jstraceable_derive Fix quote dependency version 2017-08-23 18:35:42 +02:00
layout Update WR (implement blur filter, text-shadow blend fixes, frame output fix). 2017-09-19 11:56:03 +10:00
layout_thread Explicitly register rayon threads, rather than assuming that as the default. 2017-09-19 13:04:35 -07:00
layout_traits WR multi-document update 2017-07-28 22:28:11 -04:00
malloc_size_of Fix MallocSizeOf for TypedSize2D. 2017-09-21 09:06:20 +10:00
malloc_size_of_derive Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
metrics Add paint metrics to Performance Timeline API 2017-08-23 17:30:13 +02:00
msg Made PipelineId non-zero, so optional ids take no more space. 2017-09-18 15:49:38 -05:00
net Update some dependencies to fix some warnings 2017-09-20 11:50:39 +02:00
net_traits order derivable traits lists 2017-08-23 21:38:44 +02:00
profile Make Performance Timeline API work in Workers 2017-09-05 17:07:15 +02:00
profile_traits Make Performance Timeline API work in Workers 2017-09-05 17:07:15 +02:00
rand
range order derivable traits lists 2017-08-23 21:38:44 +02:00
remutex order derivable traits lists 2017-08-23 21:38:44 +02:00
script Window should own Location, Document shouldn't 2017-09-20 14:20:04 -05:00
script_layout_interface Preserve sourceURL comment on style sheets 2017-09-14 12:39:18 -06:00
script_plugins Upgrade to rustc 1.21.0-nightly (7eeac1b81 2017-08-30) 2017-08-31 17:17:59 +02:00
script_traits Introduce MainThreadScriptMsg::RegisterPaintWorklet 2017-09-17 10:19:59 +02:00
selectors Preserve sourceURL comment on style sheets 2017-09-14 12:39:18 -06:00
servo Improve Webrender<->WebGL synchronization 2017-09-20 11:48:11 +02:00
servo_arc style: Share user agent cascade data across documents. 2017-09-15 09:26:23 +02:00
size_of_test
style stylo: do not handle the fallback discrete animation inside the Animate trait. 2017-09-21 15:30:18 +08:00
style_derive style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
style_traits Preserve sourceURL comment on style sheets 2017-09-14 12:39:18 -06:00
url order derivable traits lists 2017-08-23 21:38:44 +02:00
webdriver_server Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
webvr Update rust-webvr to 0.8 2017-08-31 01:24:54 +02:00
webvr_traits Update rust-webvr to 0.8 2017-08-31 01:24:54 +02:00