Re: [RequestAnimationFrame] WindowAnimationTiming

On 2/22/12 7:04 AM, Ms2ger wrote:
> It seems unnecessary to have the WindowAnimationTiming interface; the
> best practice for this pattern would be
>
> # partial interface Window {
> # long requestAnimationFrame(FrameRequestCallback callback);
> # void cancelAnimationFrame(long handle);
> # };

Yes, agreed.  I suspect the current IDL in the spec may predate partial 
interfaces...

-Boris

Received on Wednesday, 22 February 2012 15:14:22 UTC