Bug 1254419 - Add values member to AnimationPropertyDetails; r=heycam, r=bz draft
authorBrian Birtles <birtles@gmail.com>
Sun, 13 Mar 2016 19:20:37 +0800
changeset 341461 6d35edc0acca015cf7b7b725ec6a996754e71f88
parent 341455 3d0ec847647ba471773a8f7329b2361d34a66866
child 341462 5452e8cbfb3f177985d9ea514380222895e8ee82
push id13215
push userbbirtles@mozilla.com
push dateThu, 17 Mar 2016 02:17:54 +0000
reviewersheycam, bz
bugs1254419
milestone48.0a1
Bug 1254419 - Add values member to AnimationPropertyDetails; r=heycam, r=bz MozReview-Commit-ID: 2XFh2qLwlaE
dom/webidl/KeyframeEffect.webidl
--- a/dom/webidl/KeyframeEffect.webidl
+++ b/dom/webidl/KeyframeEffect.webidl
@@ -41,20 +41,28 @@ interface KeyframeEffectReadOnly : Anima
   // KeyframeEffect             clone();
 
   // We use object instead of ComputedKeyframe so that we can put the
   // property-value pairs on the object.
   [Throws] sequence<object> getFrames();
 };
 
 // Non-standard extensions
+dictionary AnimationPropertyValueDetails {
+  double             offset;
+  DOMString          value;
+  DOMString          easing;
+  CompositeOperation composite;
+};
+
 dictionary AnimationPropertyDetails {
-  DOMString  property;
-  boolean    runningOnCompositor;
-  DOMString? warning;
+  DOMString                               property;
+  boolean                                 runningOnCompositor;
+  DOMString?                              warning;
+  sequence<AnimationPropertyValueDetails> values;
 };
 
 partial interface KeyframeEffectReadOnly {
   [ChromeOnly] sequence<AnimationPropertyDetails> getProperties();
 };
 
 [Func="nsDocument::IsWebAnimationsEnabled",
  Constructor ((Element or CSSPseudoElement)? target,