servo/tests/wpt
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
..
meta script: Ensure that keyboard modifiers, screen point, and client point are set in WheelEvents (#37947) 2025-07-17 05:32:03 +00:00
mozilla canvas: Add initial support of ImageBitmapRenderingContext (#37998) 2025-07-15 08:03:49 +00:00
tests renderer: Have the viewport meta element establish the initial zoom of new pages (#37315) 2025-07-15 13:54:05 +00:00
webgl WebGL2: support TexImage3D (#37718) 2025-07-09 14:22:03 +00:00
webgpu Disable serviceworkers for webgpu CTS tests (#36672) 2025-04-24 10:02:57 +00:00
aliases
config.ini
hosts
include.ini canvas: Add initial support of ImageBitmapRenderingContext (#37998) 2025-07-15 08:03:49 +00:00
README.md

Web tests (including Web Platform Tests)

Moved to the Servo book: