servo/components
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
..
allocator
background_hang_monitor bhm: Add backtrace demangling (#37819) 2025-07-02 13:39:36 +00:00
bluetooth
canvas canvas: Use stored transform instead of querying canvas paint thread (#38097) 2025-07-16 14:59:10 +00:00
compositing renderer: Have the viewport meta element establish the initial zoom of new pages (#37315) 2025-07-15 13:54:05 +00:00
config imagebitmap: Remove ImageBitmap from experimental web platform features (#38050) 2025-07-14 10:20:02 +00:00
constellation Refactor constellation broadcast channel (#38077) 2025-07-15 13:57:05 +00:00
deny_public_fields
devtools Send early DevToolsHttpRequest and relocate response reporting to main_fetch (#37906) 2025-07-15 05:41:11 +00:00
dom_struct
domobject_derive
fonts Clean up unused dependencies / features and centralize more feature selection into root Cargo.toml (#37720) 2025-06-26 11:56:48 +00:00
geometry script: Get the screen metrics from the WebViewDelegate instead of via the compositor (#38020) 2025-07-12 16:07:39 +00:00
hyper_serde
jstraceable_derive
layout layout: Fix bug where whitespace didn't have line decorations (#38007) 2025-07-13 13:34:51 +00:00
malloc_size_of Clean up unused dependencies / features and centralize more feature selection into root Cargo.toml (#37720) 2025-06-26 11:56:48 +00:00
media
metrics Removing unused dependencies in crates. (#37096) 2025-05-23 12:58:00 +00:00
net net: Do not print SVG tree in Debug implementation of VectorImageData (#37846) 2025-07-17 04:15:23 +00:00
pixels add support for apng and webp animated image decoding (#37637) 2025-07-10 08:54:16 +00:00
profile Profile: Resident Segments was not correctly parsing /proc/self/smaps as the regexp did not work anymore. (#37549) 2025-06-19 09:19:31 +00:00
rand
range
script script: Ensure that keyboard modifiers, screen point, and client point are set in WheelEvents (#37947) 2025-07-17 05:32:03 +00:00
script_bindings script: further use of safe to jsval (#38099) 2025-07-16 14:46:10 +00:00
servo Webdriver GoBack and GoForward commands wait for navigation complete (#37950) 2025-07-15 10:41:50 +00:00
servo_tracing
shared canvas: Use stored transform instead of querying canvas paint thread (#38097) 2025-07-16 14:59:10 +00:00
timers script: Allow reflows that do not produce display lists (#37186) 2025-06-12 19:25:04 +00:00
url script: complete resolve_module_specifier (#37552) 2025-06-21 06:17:27 +00:00
webdriver_server webdriver: Reduce IPC for viewport boundary check (#38113) 2025-07-16 10:06:49 +00:00
webgl WebGL2: support TexImage3D (#37718) 2025-07-09 14:22:03 +00:00
webgpu Add a basic caching mechanism for ImageKeys. (#37369) 2025-07-03 13:16:43 +00:00
webxr Chore: Fix warnings for openxr (#38045) 2025-07-14 06:01:37 +00:00