servo/components/style
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
..
counter_style Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
gecko Use array instead of linked list for -moz-border-*-colors 2017-09-21 11:37:57 +10:00
gecko_bindings Use CSSPixelLength in LengthOrPercentage{*}. 2017-09-13 18:10:46 +08:00
gecko_string_cache Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
invalidation style: Share user agent cascade data across documents. 2017-09-15 09:26:23 +02:00
properties stylo: do not handle the fallback discrete animation inside the Animate trait. 2017-09-21 15:30:18 +08:00
rule_tree style: Add a TLS-based style struct caching mechanism. 2017-09-14 17:13:39 +08:00
servo style: Kill -servo-under-display-none. 2017-09-17 04:31:15 +02:00
sharing Bug 1401317 - Make second pass sharing sensitive to DISABLE_STYLE_SHARING_CACHE. r=emilio 2017-09-19 23:09:12 -07:00
stylesheets Filter out !important property in keyframes for stylo. 2017-09-20 15:58:40 +09:00
values Auto merge of #18517 - BorisChiou:stylo/filter/clamp, r=emilio 2017-09-18 05:23:36 -05:00
animation.rs Filter out !important property in keyframes for servo. 2017-09-20 15:59:05 +09:00
applicable_declarations.rs Measure the UA cache. 2017-09-20 08:50:21 +10:00
attr.rs Replace all uses of the style::stylearc alias with servo_arc. 2017-07-19 09:29:05 +02:00
bezier.rs Don't use Point2D<f32> for cubic curves anymore 2017-07-19 10:19:41 +02:00
bloom.rs Un-inline some methods initializing thread_local! … 2017-09-12 11:42:04 +02:00
build.rs use cargo manifest path to find build.py script 2017-09-05 09:31:37 +02:00
build_gecko.rs Fix running cargo test -p stylo_test from repo root 2017-09-15 16:36:47 +02:00
cache.rs Make LRUCache use a linked list to reduce memmoves. 2017-09-14 11:33:02 -07:00
Cargo.toml Bump cssparser to 0.21.2 2017-09-18 23:06:18 -07:00
context.rs Make LRUCache use a linked list to reduce memmoves. 2017-09-14 11:33:02 -07:00
custom_properties.rs Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
data.rs style: Massage the resolver code so it's cleaner and prevents the problem. 2017-09-18 04:57:50 +02:00
dom.rs style: Implement the body text color quirk in a more straight-forward way. 2017-09-16 02:44:56 +02:00
driver.rs style: Avoid unnecessarily using Borrow. 2017-09-04 13:23:56 +02:00
element_state.rs Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
encoding_support.rs Use cssparser's new_with_line_number_offset 2017-08-28 12:49:30 -06:00
error_reporting.rs stylo: Error reporting for unknown media features 2017-09-08 12:48:50 +02:00
font_face.rs Implement size_hint for more iterators. 2017-09-13 20:29:27 -04:00
font_metrics.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
hash.rs stylo: Add hash module for reexporting HashMap 2017-08-31 16:28:27 -07:00
lib.rs style: Add a TLS-based style struct caching mechanism. 2017-09-14 17:13:39 +08:00
logical_geometry.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
macros.rs Measure PropertyDeclaration more thoroughly. 2017-09-14 13:18:03 +10:00
matching.rs Drop RulesChanged 2017-09-21 08:45:55 +09:00
media_queries.rs stylo: Error reporting for unknown media features 2017-09-08 12:48:50 +02:00
parallel.rs Increase stack safety margin for stylo. 2017-09-07 11:44:45 -07:00
parser.rs Use cssparser's new_with_line_number_offset 2017-08-28 12:49:30 -06:00
README.md docs: Add style overview. 2016-05-04 00:34:03 +02:00
rule_cache.rs style: Don't use rule cache for property-restricted pseudo-elements. 2017-09-14 17:13:48 +08:00
scoped_tls.rs Reduce the size of top_down_dom stackframes. 2017-06-08 13:02:36 -04:00
selector_map.rs Overhaul MallocSizeOf and related things. 2017-09-12 12:37:51 +10:00
selector_parser.rs Measure the UA cache. 2017-09-20 08:50:21 +10:00
shared_lock.rs style: Unify how servo and Gecko handle UA sheets. 2017-09-14 20:33:43 +02:00
str.rs Rework MediaType to be an atom-based struct instead of an enum. 2017-08-09 13:25:30 -07:00
style_adjuster.rs style: Handle correctly display changes from ruby to non-ruby in some edge cases. 2017-09-06 12:56:34 +02:00
style_resolver.rs Bug 1401317 - Make second pass sharing sensitive to DISABLE_STYLE_SHARING_CACHE. r=emilio 2017-09-19 23:09:12 -07:00
stylesheet_set.rs style: Share user agent cascade data across documents. 2017-09-15 09:26:23 +02:00
stylist.rs Measure the UA cache. 2017-09-20 08:50:21 +10:00
thread_state.rs Explicitly register rayon threads, rather than assuming that as the default. 2017-09-19 13:04:35 -07:00
timer.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
traversal.rs style: Massage the resolver code so it's cleaner and prevents the problem. 2017-09-18 04:57:50 +02:00
traversal_flags.rs style: Remove the for reconstruction traversals. 2017-09-01 13:13:50 +02:00

servo-style

Style system for Servo, using rust-cssparser for parsing.