Skip to content

Conversation

@ChrisC
Copy link
Contributor

@ChrisC ChrisC commented Nov 21, 2025

Extracted from #55663 for easier review

Feature: Wheel events
Reference: https://github.com/web-platform-dx/web-features/blob/main/features/wheel-events.yml

Note: The wheel event fires when the user moves a mouse wheel or similar spatially rotating input device. Includes the WheelEvent API with properties like deltaX, deltaY, deltaZ, and deltaMode.

Search strategy: Searched for "WheelEvent" API references, "wheel event" occurrences, and "deltaMode" property usage.

Results:
- Total matches found: 144 across 51 unique files
- Filtered: 39 files

WEB_FEATURES.yml files created/updated:
✅ [dom/events/WEB_FEATURES.yml](dom/events/WEB_FEATURES.yml) - Event constructors test (1 file) - **CREATED**
✅ [dom/events/non-cancelable-when-passive/WEB_FEATURES.yml](dom/events/non-cancelable-when-passive/WEB_FEATURES.yml) - Passive/non-passive wheel event listener tests (21 files) - **CREATED**
✅ [dom/events/scrolling/WEB_FEATURES.yml](dom/events/scrolling/WEB_FEATURES.yml) - Wheel event transaction tests (7 files) - **UPDATED**
✅ [uievents/WEB_FEATURES.yml](uievents/WEB_FEATURES.yml) - Historical and IDL harness tests (2 files) - **CREATED**
✅ [uievents/legacy-domevents-tests/submissions/Microsoft/WEB_FEATURES.yml](uievents/legacy-domevents-tests/submissions/Microsoft/WEB_FEATURES.yml) - Legacy WheelEvent tests (6 files) - **CREATED**
✅ [uievents/order-of-events/mouse-events/WEB_FEATURES.yml](uievents/order-of-events/mouse-events/WEB_FEATURES.yml) - Wheel event ordering tests (2 files) - **CREATED**

Excluded (12 files):
- CSS scroll tests (3 files): css/css-overscroll-behavior, css/css-scroll-snap - Primary focus on CSS scrolling features
- Cross-origin iframe test (1 file): Primary focus on cross-origin iframe scrolling behavior
- Generic event tests (3 files): Event-timestamp-high-resolution, Document-createEvent, hasFeature - Test many event types, not wheel events specifically
- Pointer events test (1 file): Primary focus on pointer events, not wheel events
- SVG event attributes test (1 file): Primary focus on event attributes in general
- Workers tests (2 files): Test interface object availability in workers (general infrastructure)
features:
- name: wheel-events
files:
- historical.html
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test indeed only includes tests for WheelEvent, but labeling it is risky because other things can be added to historical.html later, it's often a collection of random things that shouldn't be supported.

features:
- name: wheel-events
files:
- WheelEvent.*
Copy link
Member

@foolip foolip Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These aren't actually treated as tests. In MANIFEST.json they are under manifest.items.support, like README files and lots of other non-test stuff. I've filed #56182 about this.

@foolip foolip enabled auto-merge (squash) November 21, 2025 10:18
@foolip foolip merged commit 7003743 into web-platform-tests:master Nov 21, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants