servo/tests/wpt/meta/dom/events
Abdelrahman Hossam c76c44d0fb
script: Ensure that keyboard modifiers, screen point, and client point are set in WheelEvents (#37947)
- Updating the WheelEvent initialization to correctly handle keyboard
modifiers when the wheel event is triggered. The changes ensure that the
modifiers (Ctrl, Alt, Shift, Meta) are properly set based on the current
state of the keyboard when the wheel event is created. This is
particularly important for scenarios where the wheel event is influenced
by key presses, such as scrolling with the Ctrl key pressed to zoom in
or out.

- Updating the `screen_point` and `client_point` as it was always 0,0
before. Now, it shows the correct position of the mouse pointer while
triggering the wheel event.

Test: Manual Test case and existing WPT tests
(classic/perform_actions/wheel.py[test_scroll_with_key_pressed])
Fixes: #37827

Signed-off-by: abdelrahman1234567 <abdelrahman.hossameldin.awadalla@huawei.com>
2025-07-17 05:32:03 +00:00
..
non-cancelable-when-passive
scrolling
AddEventListenerOptions-signal.any.js.ini Enable more test directories and preferences (#34952) 2025-01-17 02:41:09 +00:00
Body-FrameSet-Event-Handlers.html.ini
Event-dispatch-click.tentative.html.ini
Event-dispatch-single-activation-behavior.html.ini script: implement HTMLHyperlinkElementUtils for HTMLAreaElement (#35482) 2025-02-16 09:54:31 +00:00
Event-subclasses-constructors.html.ini script: Ensure that keyboard modifiers, screen point, and client point are set in WheelEvents (#37947) 2025-07-17 05:32:03 +00:00
Event-timestamp-high-resolution.https.html.ini
EventListener-handleEvent-cross-realm.html.ini
EventListener-handleEvent.html.ini
EventListener-invoke-legacy.html.ini
EventTarget-dispatchEvent.html.ini
mouse-event-retarget.html.ini
relatedTarget.window.js.ini Enable Shadow DOM for tests (#34299) 2024-11-20 05:57:50 +00:00
shadow-relatedTarget.html.ini Enable Shadow DOM for tests (#34299) 2024-11-20 05:57:50 +00:00
webkit-animation-end-event.html.ini Update the list of global and window event handlers (#36894) 2025-05-10 15:54:13 +00:00
webkit-animation-iteration-event.html.ini Update the list of global and window event handlers (#36894) 2025-05-10 15:54:13 +00:00
webkit-animation-start-event.html.ini Update the list of global and window event handlers (#36894) 2025-05-10 15:54:13 +00:00
webkit-transition-end-event.html.ini Sync WPT with upstream (11-05-2025) (#36954) 2025-05-11 01:41:53 +00:00