Re: [RequestAnimationFrame] callback

On Wed, 22 Feb 2012 13:00:57 +0100, Ms2ger <ms2ger@gmail.com> wrote:
> the spec currently has
>
> | callback FrameRequestCallback = void (DOMTimeStamp time);
>
> This is inconsistent with the rest of the platform, which allows using,  
> for example, { handleEvent: function(e) { } } for EventListener. It  
> should be changed to
>
> # callback interface FrameRequestCallback {
> #   void sample(DOMTimeStamp time);
> # };
>
> Gecko already implements this.

I disagree with this comment.

We discussed this at length on public-script-coord and the conclusion was  
what is in the specification now (and recommended by Web IDL):  
http://lists.w3.org/Archives/Public/public-script-coord/2011OctDec/0368.html


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Wednesday, 22 February 2012 12:11:53 UTC