JS IDL2K better callbacks support + bugfixes according to review

This commit is contained in:
Sergey Mashkov
2015-05-13 15:03:11 +03:00
committed by Sergey Mashkov
parent a11e0a84b5
commit 0ce1edd417
26 changed files with 708 additions and 588 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ partial interface CSSStyleDeclaration {
attribute String flexGrow;
attribute String flexShrink;
attribute String flexWrap;
attribute String float;
attribute String cssFloat;
attribute String font;
attribute String fontFamily;
attribute String fontFeatureSettings;
+6
View File
@@ -5100,4 +5100,10 @@ dictionary EditingInputEventInit : EventInit {
DOMString command;
DOMString value;
};
partial interface Window {
long requestAnimationFrame(FrameRequestCallback callback);
void cancelAnimationFrame(long handle);
};
callback FrameRequestCallback = void (DOMHighResTimeStamp time);
+8
View File
@@ -0,0 +1,8 @@
namespace org.w3c.time;
typedef double DOMHighResTimeStamp;
partial interface Performance {
DOMHighResTimeStamp now();
};
+7
View File
@@ -0,0 +1,7 @@
namespace org.w3c.webidl;
/** written by WebIDL spec */
typedef unsigned long long DOMTimeStamp;
callback Function = any (any... arguments);
callback VoidFunction = void ();