input event should bubble

This commit is contained in:
Paul Rouget 2016-02-12 07:27:27 +01:00
parent 4c4df37a12
commit 54e737c2b0

View file

@ -956,7 +956,7 @@ impl Runnable for ChangeEventRunnable {
let window = window.r();
let event = Event::new(GlobalRef::Window(window),
atom!("input"),
EventBubbles::DoesNotBubble,
EventBubbles::Bubbles,
EventCancelable::NotCancelable);
target.upcast::<EventTarget>().dispatch_event(&event);
}