diff options
Diffstat (limited to 'widget/BasicEvents.h')
-rw-r--r-- | widget/BasicEvents.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widget/BasicEvents.h b/widget/BasicEvents.h index b3707f1cf4..affc58f3be 100644 --- a/widget/BasicEvents.h +++ b/widget/BasicEvents.h @@ -440,6 +440,10 @@ class WidgetEvent : public WidgetEventTime { mFlags.mCancelable = false; mFlags.mBubbles = mFlags.mIsTrusted; break; + case eLegacyTextEventClass: + mFlags.mCancelable = mFlags.mIsTrusted && mMessage == eLegacyTextInput; + mFlags.mBubbles = mFlags.mIsTrusted && mMessage == eLegacyTextInput; + break; case eMouseEventClass: mFlags.mCancelable = (mMessage != eMouseEnter && mMessage != eMouseLeave); |