Update Animation Timing links and terminology to the HTML specification.

This commit is contained in:
Ms2ger 2015-08-05 09:21:08 +02:00
parent ac533b1466
commit d2077dd245
4 changed files with 15 additions and 16 deletions

View file

@ -56,6 +56,9 @@
//void print();
//any showModalDialog(DOMString url, optional any argument);
long requestAnimationFrame(FrameRequestCallback callback);
void cancelAnimationFrame(long handle);
//void postMessage(any message, DOMString targetOrigin, optional sequence<Transferable> transfer);
// also has obsolete members
@ -159,9 +162,5 @@ interface WindowLocalStorage {
};
Window implements WindowLocalStorage;
// https://w3c.github.io/animation-timing/#Window-interface-extensions
partial interface Window {
long requestAnimationFrame(FrameRequestCallback callback);
void cancelAnimationFrame(long handle);
};
// http://w3c.github.io/animation-timing/#framerequestcallback
callback FrameRequestCallback = void (DOMHighResTimeStamp time);