mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fire 'input' event after 'keypress' in input and textarea elements
This commit is contained in:
parent
08662cc64e
commit
5f0b3bd53c
4 changed files with 24 additions and 24 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue