This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27710 - FrameRequestCallback isn't defined (but is used)
Summary: FrameRequestCallback isn't defined (but is used)
Status: RESOLVED DUPLICATE of bug 29026
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: https://html.spec.whatwg.org/#animati...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-27 20:10 UTC by contributor
Modified: 2015-08-28 10:20 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2014-12-27 20:10:19 UTC
Specification: https://html.spec.whatwg.org/
Multipage: https://html.spec.whatwg.org/multipage/#animation-frames
Complete: https://html.spec.whatwg.org/#animation-frames
Referrer: 

Comment:
Reference to RequestAnimationFrame specification missing

Posted from: 91.141.1.200
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36
Comment 1 Rainer Schuster 2014-12-27 20:11:37 UTC
A reference to 
http://www.w3.org/TR/animation-timing/
or
https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/RequestAnimationFrame/Overview.html

should be added where RequestAnimationFrame is specified.
Comment 2 Ian 'Hixie' Hickson 2015-01-06 22:43:40 UTC
Why? This spec obsoletes that spec, by request of that spec's editors.
Comment 3 Rainer Schuster 2015-01-07 19:26:32 UTC
(In reply to Ian 'Hixie' Hickson from comment #2)
> Why? This spec obsoletes that spec, by request of that spec's editors.

The reason I opened this bug was that the html specification defines in the Window interface:
long requestAnimationFrame(FrameRequestCallback callback);
void cancelAnimationFrame(long handle);

but FrameRequestCallback (which is used) is specified only externally, so the specification is somehow incomplete. The definition
callback FrameRequestCallback = void (DOMHighResTimeStamp time);
is missing.
Comment 4 Ian 'Hixie' Hickson 2015-01-08 18:44:51 UTC
Oh, oops. That's supposed to be included. My apologies.
Comment 5 Anne 2015-08-28 10:20:59 UTC
This ended up getting fixed in a newer report. Sorry for not spotting it was a duplicate of your report.

*** This bug has been marked as a duplicate of bug 29026 ***