W3C home > Mailing lists > Public > public-fx@w3.org > April to June 2014

Re: getFrames should return a sequence<ComputedKeyFrame> or something

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 17 Apr 2014 02:36:33 -0400
Message-ID: <534F7671.7070402@mit.edu>
To: Brian Birtles <bbirtles@mozilla.com>, public-fx@w3.org
On 4/17/14 2:13 AM, Brian Birtles wrote:
> We added computedOffset because some people commented that they wanted
> to be able to see how the UA was arranging their keyframes (since there
> is some auto-spacing behaviour). So it's output only. However, we also
> want to be able to allow authors to say, for example:
>
>    animA.effect.setFrames(animB.effect.getFrames());

This would work if getFrames returned a sequence of dictionaries that 
inherit from Keyframe, fwiw.  So it doesn't require adding anything to 
Keyframe.

> So that's why we added the 'ignore computedOffset on input' step.

In practice, this only matters if CSS adds a property called 
"computedOffset", right?

-Boris
Received on Thursday, 17 April 2014 06:37:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:49:49 UTC