mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
use return value of invoking event handlers to cancel the event
This commit is contained in:
parent
aaad24c531
commit
b60d668908
9 changed files with 141 additions and 58 deletions
|
@ -23,18 +23,22 @@ typedef OnErrorEventHandlerNonNull? OnErrorEventHandler;
|
|||
|
||||
[NoInterfaceObject]
|
||||
interface GlobalEventHandlers {
|
||||
attribute EventHandler onblur;
|
||||
attribute EventHandler onchange;
|
||||
attribute EventHandler onclick;
|
||||
attribute EventHandler ondblclick;
|
||||
attribute OnErrorEventHandler onerror;
|
||||
attribute EventHandler onload;
|
||||
attribute EventHandler oninput;
|
||||
attribute EventHandler onkeydown;
|
||||
attribute EventHandler onkeypress;
|
||||
attribute EventHandler onkeyup;
|
||||
attribute EventHandler onchange;
|
||||
attribute EventHandler onload;
|
||||
attribute EventHandler onmouseover;
|
||||
attribute EventHandler onreset;
|
||||
attribute EventHandler onresize;
|
||||
attribute EventHandler onsubmit;
|
||||
attribute EventHandler ontoggle;
|
||||
attribute EventHandler onresize;
|
||||
|
||||
};
|
||||
|
||||
[NoInterfaceObject]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue