diff options
Diffstat (limited to 'testing/web-platform/tests/interfaces/invokers.tentative.idl')
-rw-r--r-- | testing/web-platform/tests/interfaces/invokers.tentative.idl | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/interfaces/invokers.tentative.idl b/testing/web-platform/tests/interfaces/invokers.tentative.idl new file mode 100644 index 0000000000..62f7398b82 --- /dev/null +++ b/testing/web-platform/tests/interfaces/invokers.tentative.idl @@ -0,0 +1,15 @@ +interface mixin InvokerElement { + [CEReactions,Reflect=invoketarget] attribute Element? invokeTargetElement; + [CEReactions,Reflect,ReflectMissing="auto",ReflectEmpty="auto"] attribute DOMString invokeAction; +}; + +interface InvokeEvent : Event { + constructor(DOMString type, optional InvokeEventInit eventInitDict = {}); + readonly attribute Element? invoker; + readonly attribute DOMString action; +}; + +dictionary InvokeEventInit : EventInit { + Element? invoker = null; + DOMString action = "auto"; +}; |