servo/components/shared/layout
Martin Robinson 6651f37c05
script/compositor: Handle cursor updates from script (#38518)
Instead of using WebRender hit testing to update the cursor, base it on
layout hit tests. This allows removing the majority of WebRender hit
test items and finally opens up the possibility of adding support for
custom cursors. In addition, this change fixes an issue where cursors
were not set properly on areas of the viewport that extended past the
page content.

Testing: This is difficult to test as verifying that the cursor changed
properly is beyond the capabilities of Servo's test harnesses.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Oriol Brufau <obrufau@igalia.com>
2025-08-07 18:49:38 +00:00
..
Cargo.toml compositor/layout: Rely on layout for fine-grained input event hit testing (#38480) 2025-08-07 08:38:43 +00:00
layout_damage.rs layout: Separate LayoutDamage bit patterns nibbles with _ (#38476) 2025-08-05 12:43:16 +00:00
lib.rs script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00
wrapper_traits.rs Rename script_layout_interface to layout_api (#37591) 2025-06-20 17:13:05 +00:00