servo/components/style
Boris Chiou 0b9ecbccfe
style: Rewrite the interpolation of Rotate to return correct type.
The original implementation always returns Rotate::Rotate3D, but it is
not correct, so we have to rewrite it:
1. If both from value and to value are none, we don't have to convert it
   into identity value, so just return None.
2. If one of the value is none, we replace it with an identity value based on
   the other one's rotate axis.
3. If we only have 2D rotation, we just animate the <angle>.
4. Otherwise, we do interpolation by 3D rotation.

Differential Revision: https://phabricator.services.mozilla.com/D11247
2018-11-17 09:56:00 +01:00
..
counter_style style: Revert try -> r#try change. 2018-11-10 21:42:17 +01:00
gecko style: Manually extinguish multi-line use statements. 2018-11-10 21:42:24 +01:00
gecko_bindings style: Manually extinguish multi-line use statements. 2018-11-10 21:42:24 +01:00
gecko_string_cache style: Remove dynamic HTML5 atoms. 2018-11-10 21:11:19 +01:00
invalidation cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
media_queries style: Revert try -> r#try change. 2018-11-10 21:42:17 +01:00
properties style: Rewrite the interpolation of Rotate to return correct type. 2018-11-17 09:56:00 +01:00
rule_tree cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
servo style: Manually extinguish multi-line use statements. 2018-11-10 21:42:24 +01:00
sharing cargo fix --edition 2018-11-10 17:47:28 +01:00
stylesheets style: Manually extinguish multi-line use statements. 2018-11-10 21:42:24 +01:00
use_counters cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
values style: Remove serialize_basicshape_position. 2018-11-17 09:55:59 +01:00
animation.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
applicable_declarations.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
attr.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
author_styles.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
bezier.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
bloom.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
build.rs Format remaining files 2018-11-06 22:30:31 +01:00
build_gecko.rs Reorder imports 2018-11-06 22:35:07 +01:00
Cargo.toml style: Implement the env() function with hardcoded zeros for safe-area-inset. 2018-11-05 12:33:16 +01:00
cbindgen.toml style: Move user-select outside of mako. 2018-11-17 09:55:47 +01:00
context.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
custom_properties.rs style: Revert try -> r#try change. 2018-11-10 21:42:17 +01:00
data.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
dom.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
dom_apis.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
driver.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
element_state.rs style: Appease tidy. 2018-07-01 01:01:46 +02:00
encoding_support.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
error_reporting.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
font_face.rs style: Manually extinguish multi-line use statements. 2018-11-10 21:42:24 +01:00
font_metrics.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
hash.rs style: Convert FnvHash{Set,Map} instances to FxHash{Set,Map}. 2018-08-08 01:34:35 +02:00
lib.rs style: Split up push_applicable_declarations. 2018-11-10 21:10:34 +01:00
logical_geometry.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
macros.rs Format style component. 2018-09-09 16:24:45 +02:00
matching.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
parallel.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
parser.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
README.md
rule_cache.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
rule_collector.rs style: Cargo fix + ./mach fmt. 2018-11-10 21:11:47 +01:00
scoped_tls.rs
selector_map.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
selector_parser.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
shared_lock.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
str.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
style_adjuster.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00
style_resolver.rs style: Manually extinguish multi-line use statements. 2018-11-10 21:42:24 +01:00
stylesheet_set.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
stylist.rs style: Cargo fix + ./mach fmt. 2018-11-10 21:11:47 +01:00
thread_state.rs Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
timer.rs Run rustfmt on selectors, servo_arc, and style. 2018-04-10 17:35:15 -07:00
traversal.rs cargo fix --edition 2018-11-10 17:47:28 +01:00
traversal_flags.rs cargo fix --edition --features gecko 2018-11-10 17:47:28 +01:00

servo-style

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