mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement document.open and document.close (fixes #14591)
This commit is contained in:
parent
8c3abd6c79
commit
ac254046e4
52 changed files with 351 additions and 296 deletions
|
@ -306,6 +306,10 @@ impl EventTarget {
|
|||
event.dispatch(self, None)
|
||||
}
|
||||
|
||||
pub fn remove_all_listeners(&self) {
|
||||
*self.handlers.borrow_mut() = Default::default();
|
||||
}
|
||||
|
||||
/// https://html.spec.whatwg.org/multipage/#event-handler-attributes:event-handlers-11
|
||||
fn set_inline_event_listener(&self,
|
||||
ty: Atom,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue