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

[RequestAnimationFrame] WindowAnimationTiming

From: Ms2ger <ms2ger@gmail.com>
Date: Wed, 22 Feb 2012 13:04:51 +0100
Message-ID: <4F44D9E3.40801@gmail.com>
To: public-web-perf@w3.org
Hi all,

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);
# };

HTH
Ms2ger
Received on Wednesday, 22 February 2012 12:05:24 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 February 2012 12:05:24 GMT