mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Update Animation Timing links and terminology to the HTML specification.
This commit is contained in:
parent
ac533b1466
commit
d2077dd245
4 changed files with 15 additions and 16 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue