From a02da3481efc4bb7234b15707ebc6709414117d6 Mon Sep 17 00:00:00 2001
From: Dan Robertson
Date: Wed, 10 May 2023 09:49:27 -0400
Subject: [PATCH] Specify wheel event groups
Specify the behavior of wheel event groups.
---
sections/event-types.txt | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/sections/event-types.txt b/sections/event-types.txt
index 4245c83..21f3d0f 100644
--- a/sections/event-types.txt
+++ b/sections/event-types.txt
@@ -2068,6 +2068,18 @@ myDiv.addEventListener("auxclick", function(e) {
deltaY value respectively).
+ A user agent MUST create a wheel event transaction when the first wheel event
+ is fired, so that all subsequent wheel events within a implementation-specific amount of
+ time can be targetted at the same element. A wheel event transaction is series of
+ wheel events that are associated with a single user gesture. The
+ wheel event transaction MUST have an associated event target that is the
+ topmost event target at the time the first wheel event occurs in the group.
+
+
+ If a series of wheel events targetted in a scrollable element start above a child element,
+ later events for the same user gesture may occur over the child element.
+
+
Interface WheelEvent
Introduced in this specification
@@ -2229,7 +2241,8 @@ myDiv.addEventListener("auxclick", function(e) {
+| Composed | Yes |
+| Default action | Scroll (or zoom) the document |
+| Context
| |
- | (trusted events) | - {{Event}}.{{Event/target}} : topmost event target
|
+ | (trusted events) | - {{Event}}.{{Event/target}} : element target for the current |
+ | | wheel event transaction |
| |
- {{UIEvent}}.{{UIEvent/view}} :
Window
|
| | - {{UIEvent}}.{{UIEvent/detail}} :
0
|
| | - {{MouseEvent}}.{{MouseEvent/screenX}} : if the wheel is associated with a |