Chromium Code Reviews| Index: Source/devtools/front_end/elements/AnimationTimeline.js |
| diff --git a/Source/devtools/front_end/elements/AnimationTimeline.js b/Source/devtools/front_end/elements/AnimationTimeline.js |
| index 56eb22b64b19cb55e394e2facaf6378f597d01c9..818241e2937b5145d0c038575cac9bc58c25fb6a 100644 |
| --- a/Source/devtools/front_end/elements/AnimationTimeline.js |
| +++ b/Source/devtools/front_end/elements/AnimationTimeline.js |
| @@ -786,11 +786,10 @@ WebInspector.AnimationUI.prototype = { |
| var duration = this._duration(); |
| this._setDelay(delay); |
| this._setDuration(duration); |
| - // FIXME: Transition timing updates currently not supported |
| - if (this._animation.type() == "WebAnimation") { |
| + if (this._animation.type() !== "CSSAnimation") { |
|
dgozman
2015/03/30 10:38:58
What about CSSAnimation? Should you leave the FIXM
samli
2015/03/30 23:14:17
No, CSS animations are already supported in http:/
|
| var target = WebInspector.targetManager.mainTarget(); |
| if (target) |
| - target.animationAgent().setTiming(this._animation.id(), duration, delay); |
| + target.animationAgent().setTiming(this._animation.id(), duration, delay, this._animation.type() === "CSSTransition"); |
| } |
| } |