Fire 'input' event after 'keypress' in input and textarea elements

This commit is contained in:
Ravi Shankar 2016-12-27 13:18:45 +05:30
parent 08662cc64e
commit 5f0b3bd53c
4 changed files with 24 additions and 24 deletions

View file

@ -1334,7 +1334,6 @@ impl Document {
let ev = event.upcast::<Event>();
ev.fire(target);
cancel_state = ev.get_cancel_state();
// TODO: if keypress event is canceled, prevent firing input events
}
if cancel_state == EventDefault::Allowed {