W3C home > Mailing lists > Public > public-web-perf@w3.org > February 2012

Re: [RequestAnimationFrame] WindowAnimationTiming

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 22 Feb 2012 10:13:37 -0500
Message-ID: <4F450621.30709@mit.edu>
To: public-web-perf@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 February 2012 15:14:22 GMT