Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1390)

Unified Diff: sky/specs/animation.md

Issue 888453002: Specs: Some notes on combining simultaneous animations of the same property (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/specs/animation.md
diff --git a/sky/specs/animation.md b/sky/specs/animation.md
index e101bb4f46b265905c32ff9ea53310b7e958eceb..af6bd3efeb05bc79e8a4cac129814e00342642f4 100644
--- a/sky/specs/animation.md
+++ b/sky/specs/animation.md
@@ -1,6 +1,9 @@
Animation API
=============
+(This is very incomplete, because it's all expected to be in the
+framework, not the platform.)
+
```javascript
dictionary EasingFunctionSettings {
@@ -16,6 +19,14 @@ abstract class EasingFunction {
// (but it could in practice go outside this range, e.g. for
// animation styles that overreach then come back)
}
+```
-```
+If you want to have two animations simultaneously, e.g. two
+transforms, then you can add to the RenderNode's overrideStyles a
+StyleValue that combines other StyleValues, e.g. a
+"TransformStyleValueCombinerStyleValue", and then add to it the
+regular animated StyleValues, e.g. multiple
+"AnimatedTransformStyleValue" objects. A framework API could make
+setting all that up easy, given the right underlying StyleValue
+classes.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698