mirror of
https://github.com/servo/servo.git
synced 2025-08-12 17:05:33 +01:00
parent
6d2f70a4fd
commit
be2cb665de
19 changed files with 315 additions and 68 deletions
|
@ -141,3 +141,10 @@ interface WindowLocalStorage {
|
|||
readonly attribute Storage localStorage;
|
||||
};
|
||||
Window implements WindowLocalStorage;
|
||||
|
||||
// http://w3c.github.io/animation-timing/#Window-interface-extensions
|
||||
partial interface Window {
|
||||
long requestAnimationFrame(FrameRequestCallback callback);
|
||||
void cancelAnimationFrame(long handle);
|
||||
};
|
||||
callback FrameRequestCallback = void (DOMHighResTimeStamp time);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue