mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update the list of global and window event handlers (#36894)
There's an expanded list of event handlers content attributes that need to be forwarded to the corresponding window of the body element, and this PR adds the remaining ones. The full list can be seen in [this link](https://html.spec.whatwg.org/multipage/webappapis.html#event-handlers-on-elements%2C-document-objects%2C-and-window-objects%3Aevent-handlers-6). Testing: Covered by various WPT tests --------- Signed-off-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
parent
d725fb3728
commit
da1c49299b
18 changed files with 123 additions and 1013 deletions
|
@ -6569,9 +6569,6 @@ impl DocumentMethods<crate::DomTypeHolder> for Document {
|
|||
Ok(())
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers
|
||||
document_and_element_event_handlers!();
|
||||
|
||||
// https://fullscreen.spec.whatwg.org/#handler-document-onfullscreenerror
|
||||
event_handler!(fullscreenerror, GetOnfullscreenerror, SetOnfullscreenerror);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue