mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1096146, Patch 1: No default actions of keydown event should be made if mozbrowserbeforekeydown event is defaultPrevented, r=smaug.
This commit is contained in:
parent
5a56e32a74
commit
c47886ea59
@ -7193,6 +7193,7 @@ PresShell::HandleKeyboardEvent(nsINode* aTarget,
|
||||
|
||||
// Dispatch after events to partial items.
|
||||
if (defaultPrevented) {
|
||||
*aStatus = nsEventStatus_eConsumeNoDefault;
|
||||
DispatchAfterKeyboardEventInternal(chain, aEvent,
|
||||
aEvent.mFlags.mDefaultPrevented, chainIndex);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user