mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
dom: Add missing event handlers
Adding: * global event handlers, * window event handlers, * document and element handlers, * and support for BeforeUnloadEvent. Signed-off-by: Piotr Stankiewicz <bionicrift@gmail.com>
This commit is contained in:
parent
4590fe230f
commit
d1af39c114
21 changed files with 373 additions and 861 deletions
|
@ -2801,6 +2801,9 @@ impl DocumentMethods for Document {
|
|||
// Step 5
|
||||
elements
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#documentandelementeventhandlers
|
||||
document_and_element_event_handlers!();
|
||||
}
|
||||
|
||||
fn update_with_current_time_ms(marker: &Cell<u64>) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue