Anthony Ramine
|
8101887d31
|
Support #[animation(constant)] when deriving ToAnimatedZero
|
2017-08-28 10:39:32 +02:00 |
|
Anthony Ramine
|
eaf2f1ec33
|
Introduce #[animation(constant)] for the Animate trait
This allows us to handle fields that should be the same during animations.
|
2017-08-28 10:39:10 +02:00 |
|
Anthony Ramine
|
7ee124b1ed
|
Derive the most trivial Animate impls
|
2017-08-22 19:12:47 +02:00 |
|
Anthony Ramine
|
faaf31411a
|
Derive the most trivial ToAnimatedZero impls
|
2017-08-22 19:12:42 +02:00 |
|
Anthony Ramine
|
aea0cd7ec7
|
Introduce values::animated::Animate
This replaces the Animatable trait and merges its three former methods into a single one.
|
2017-08-22 09:41:01 +02:00 |
|
Anthony Ramine
|
54dc3e1670
|
Clean up filter animations
|
2017-08-21 23:48:58 +02:00 |
|
Xidorn Quan
|
4e0b1071e7
|
Use Option<RGBA> for color in shadow
|
2017-08-19 00:20:24 +10:00 |
|
Hiroyuki Ikezoe
|
41cbd2fa62
|
Implement distance for shadow list.
|
2017-08-16 14:25:30 +09:00 |
|
Anthony Ramine
|
49204e2c72
|
Introduce style::values::animated::color
Starting to remove stuff from style::properties::animated_properties for real.
|
2017-08-14 01:25:02 +02:00 |
|
Anthony Ramine
|
277351da35
|
Derive ComputeSquaredDistance
|
2017-08-13 13:34:04 +02:00 |
|
Anthony Ramine
|
51b740033b
|
Introduce ComputeSquaredDistance
This allows us to merge the former Animatable methods compute_distance and
compute_squared_distance, reducing code size.
|
2017-08-13 00:51:09 +02:00 |
|
Boris Chiou
|
8651acd94c
|
Bug 1374233 - Part 13: Use NonNegative{*} types for components of Shadow and Filter.
MozReview-Commit-ID: Im4KGy1n9IJ
|
2017-08-04 14:23:30 +08:00 |
|
Anthony Ramine
|
98bf832169
|
Move Animatable::get_zero_value to ToAnimatedZero::to_animated_zero
|
2017-07-19 10:19:44 +02:00 |
|
Anthony Ramine
|
80bd11bb8c
|
Merge BoxShadowList and TextShadowList into ShadowList<T>
|
2017-07-01 13:18:40 +02:00 |
|
Anthony Ramine
|
9ab0b9b4ac
|
Introduce ToAnimatedValue 🎥
|
2017-06-29 14:03:15 +02:00 |
|
Anthony Ramine
|
201d7e79e7
|
Make text-shadow and box-shadow use SimpleShadow
|
2017-06-28 16:28:25 +02:00 |
|
Anthony Ramine
|
395f6be0a6
|
Use the Separator trait for the filter property
|
2017-06-27 23:40:16 +02:00 |
|
Anthony Ramine
|
81a01f6ce1
|
Use generics for SimpleShadow
|
2017-06-24 13:01:20 +02:00 |
|
Anthony Ramine
|
c9b123266d
|
Unconditionally compile SimpleShadow even in Servo
|
2017-06-23 16:26:09 +02:00 |
|
Anthony Ramine
|
ae1c890c9e
|
Rename DropShadow to SimpleShadow
|
2017-06-23 16:25:50 +02:00 |
|
Anthony Ramine
|
6f4061d4ad
|
Use generics for the filter property
This introduces an additional shadow type for drop-shadow().
|
2017-06-20 13:48:53 +02:00 |
|