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

[RequestAnimationFrame] callback

From: Ms2ger <ms2ger@gmail.com>
Date: Wed, 22 Feb 2012 13:00:57 +0100
Message-ID: <4F44D8F9.3050400@gmail.com>
To: public-web-perf@w3.org
Hi all,

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.

Thanks
Ms2ger
Received on Wednesday, 22 February 2012 12:01:30 GMT

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