mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
auto merge of #5475 : servo/servo/add-event-handlers, r=Ms2ger
This commit is contained in:
commit
d74e6330a4
3 changed files with 2 additions and 15 deletions
|
@ -227,5 +227,6 @@ macro_rules! global_event_handlers(
|
||||||
event_handler!(click, GetOnclick, SetOnclick);
|
event_handler!(click, GetOnclick, SetOnclick);
|
||||||
event_handler!(input, GetOninput, SetOninput);
|
event_handler!(input, GetOninput, SetOninput);
|
||||||
event_handler!(change, GetOnchange, SetOnchange);
|
event_handler!(change, GetOnchange, SetOnchange);
|
||||||
|
event_handler!(submit, GetOnsubmit, SetOnsubmit);
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -25,6 +25,7 @@ interface GlobalEventHandlers {
|
||||||
attribute EventHandler onload;
|
attribute EventHandler onload;
|
||||||
attribute EventHandler oninput;
|
attribute EventHandler oninput;
|
||||||
attribute EventHandler onchange;
|
attribute EventHandler onchange;
|
||||||
|
attribute EventHandler onsubmit;
|
||||||
};
|
};
|
||||||
|
|
||||||
[NoInterfaceObject]
|
[NoInterfaceObject]
|
||||||
|
|
|
@ -246,9 +246,6 @@
|
||||||
[Document interface: attribute onstalled]
|
[Document interface: attribute onstalled]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Document interface: attribute onsubmit]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Document interface: attribute onsuspend]
|
[Document interface: attribute onsuspend]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -1386,9 +1383,6 @@
|
||||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onstalled" with the proper type (149)]
|
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onstalled" with the proper type (149)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onsubmit" with the proper type (150)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onsuspend" with the proper type (151)]
|
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onsuspend" with the proper type (151)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -1920,9 +1914,6 @@
|
||||||
[HTMLElement interface: attribute onstalled]
|
[HTMLElement interface: attribute onstalled]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLElement interface: attribute onsubmit]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLElement interface: attribute onsuspend]
|
[HTMLElement interface: attribute onsuspend]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -2178,9 +2169,6 @@
|
||||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onstalled" with the proper type (88)]
|
[HTMLElement interface: document.createElement("noscript") must inherit property "onstalled" with the proper type (88)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onsubmit" with the proper type (89)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onsuspend" with the proper type (90)]
|
[HTMLElement interface: document.createElement("noscript") must inherit property "onsuspend" with the proper type (90)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -8241,9 +8229,6 @@
|
||||||
[Window interface: window must inherit property "onstalled" with the proper type (94)]
|
[Window interface: window must inherit property "onstalled" with the proper type (94)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Window interface: window must inherit property "onsubmit" with the proper type (95)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Window interface: window must inherit property "onsuspend" with the proper type (96)]
|
[Window interface: window must inherit property "onsuspend" with the proper type (96)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue