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

getFrames should return a sequence<ComputedKeyFrame> or something

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 16 Apr 2014 02:45:13 -0400
Message-ID: <534E26F9.4060503@mit.edu>
To: "public-fx@w3.org" <public-fx@w3.org>
Right now getFrames is defined as returning a sequence<KeyFrame> but 
talks about storing something "in the computedOffset property of each 
frame as a Number".

But KeyFrame has no computedOffset property.  This text seems to be 
confusing a WebIDL dictionary with what you get after converting it to a 
JS value.

What you probably want here is a ComputedKeyFrame dictionary which 
inherits from KeyFrame and has a computedOffset member, which you could 
then set.

Received on Wednesday, 16 April 2014 06:45:42 UTC

This archive was generated by hypermail 2.3.1 : Monday, 22 June 2015 03:33:52 UTC