servo/tests/wpt/meta/dom/events/Event-subclasses-constructors.html.ini
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

21 lines
573 B
INI
Vendored

[Event-subclasses-constructors.html]
[KeyboardEvent constructor (argument with non-default values)]
expected: FAIL
[CompositionEvent constructor (no argument)]
expected: FAIL
[CompositionEvent constructor (undefined argument)]
expected: FAIL
[CompositionEvent constructor (null argument)]
expected: FAIL
[CompositionEvent constructor (empty argument)]
expected: FAIL
[CompositionEvent constructor (argument with default values)]
expected: FAIL
[CompositionEvent constructor (argument with non-default values)]
expected: FAIL