diff --git a/layout/base/nsPresShell.cpp b/layout/base/nsPresShell.cpp index b1fb8b77eda..ac4cd9257ee 100644 --- a/layout/base/nsPresShell.cpp +++ b/layout/base/nsPresShell.cpp @@ -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);