mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
parent
72ecbbe221
commit
fb0304cfdb
5 changed files with 33 additions and 30 deletions
|
@ -866,14 +866,14 @@ impl Activatable for HTMLInputElement {
|
|||
let win = window_from_node(self);
|
||||
let target = self.upcast::<EventTarget>();
|
||||
|
||||
target.fire_simple_event_params("input",
|
||||
EventBubbles::Bubbles,
|
||||
EventCancelable::NotCancelable,
|
||||
GlobalRef::Window(win.r()));
|
||||
target.fire_simple_event_params("change",
|
||||
EventBubbles::Bubbles,
|
||||
EventCancelable::NotCancelable,
|
||||
GlobalRef::Window(win.r()));
|
||||
target.fire_event("input",
|
||||
EventBubbles::Bubbles,
|
||||
EventCancelable::NotCancelable,
|
||||
GlobalRef::Window(win.r()));
|
||||
target.fire_event("change",
|
||||
EventBubbles::Bubbles,
|
||||
EventCancelable::NotCancelable,
|
||||
GlobalRef::Window(win.r()));
|
||||
}
|
||||
},
|
||||
_ => ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue