summaryrefslogtreecommitdiff
path: root/widget
diff options
context:
space:
mode:
authorMartok <martok@martoks-place.de>2022-11-27 16:35:38 +0100
committerMartok <martok@martoks-place.de>2022-11-27 16:35:38 +0100
commita585aeacf074187bdc0073aeaa08cdabb65fab38 (patch)
tree09322f8d4eb0a0c2271dc77d966d2ee9db394f12 /widget
parent814fa6e3baf41cd493f75a39f458ecd9a5c5508f (diff)
downloaduxp-a585aeacf074187bdc0073aeaa08cdabb65fab38.tar.gz
Issue #2030 - Allow child nodes of button to participate in mouse hit tests
This is needed for web compatibility, even if standards compliance is debatable.
Diffstat (limited to 'widget')
-rw-r--r--widget/BasicEvents.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/widget/BasicEvents.h b/widget/BasicEvents.h
index 0ce0f587dd..9631dfd257 100644
--- a/widget/BasicEvents.h
+++ b/widget/BasicEvents.h
@@ -80,6 +80,8 @@ public:
// the first <label> element is clicked, that one may set this true.
// Then, the second <label> element won't handle the event.
bool mMultipleActionsPrevented : 1;
+ // Similar to above but expected to be used during PreHandleEvent phase.
+ bool mMultiplePreActionsPrevented : 1;
// If mIsBeingDispatched is true, the DOM event created from the event is
// dispatching into the DOM tree and not completed.
bool mIsBeingDispatched : 1;