mirror of
https://github.com/servo/servo.git
synced 2025-07-21 14:23:41 +01:00
Implement the onreset event handler.
This commit is contained in:
parent
ffc1c777fe
commit
3ef39e1a30
3 changed files with 2 additions and 12 deletions
|
@ -330,6 +330,7 @@ macro_rules! global_event_handlers(
|
||||||
event_handler!(keyup, GetOnkeyup, SetOnkeyup);
|
event_handler!(keyup, GetOnkeyup, SetOnkeyup);
|
||||||
event_handler!(input, GetOninput, SetOninput);
|
event_handler!(input, GetOninput, SetOninput);
|
||||||
event_handler!(change, GetOnchange, SetOnchange);
|
event_handler!(change, GetOnchange, SetOnchange);
|
||||||
|
event_handler!(reset, GetOnreset, SetOnreset);
|
||||||
event_handler!(submit, GetOnsubmit, SetOnsubmit);
|
event_handler!(submit, GetOnsubmit, SetOnsubmit);
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -31,6 +31,7 @@ interface GlobalEventHandlers {
|
||||||
attribute EventHandler onkeypress;
|
attribute EventHandler onkeypress;
|
||||||
attribute EventHandler onkeyup;
|
attribute EventHandler onkeyup;
|
||||||
attribute EventHandler onchange;
|
attribute EventHandler onchange;
|
||||||
|
attribute EventHandler onreset;
|
||||||
attribute EventHandler onsubmit;
|
attribute EventHandler onsubmit;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -186,9 +186,6 @@
|
||||||
[Document interface: attribute onratechange]
|
[Document interface: attribute onratechange]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Document interface: attribute onreset]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Document interface: attribute onresize]
|
[Document interface: attribute onresize]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -1764,9 +1761,6 @@
|
||||||
[HTMLElement interface: attribute onratechange]
|
[HTMLElement interface: attribute onratechange]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLElement interface: attribute onreset]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLElement interface: attribute onresize]
|
[HTMLElement interface: attribute onresize]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -2001,9 +1995,6 @@
|
||||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onratechange" with the proper type (79)]
|
[HTMLElement interface: document.createElement("noscript") must inherit property "onratechange" with the proper type (79)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onreset" with the proper type (80)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type (81)]
|
[HTMLElement interface: document.createElement("noscript") must inherit property "onresize" with the proper type (81)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
@ -9117,9 +9108,6 @@
|
||||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onratechange" with the proper type (141)]
|
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onratechange" with the proper type (141)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onreset" with the proper type (142)]
|
|
||||||
expected: FAIL
|
|
||||||
|
|
||||||
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onresize" with the proper type (143)]
|
[Document interface: document.implementation.createDocument(null, "", null) must inherit property "onresize" with the proper type (143)]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue