servo/components/layout/display_list
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
..
background.rs compositor: Request reflow when doing a page zooming (#38166) 2025-07-29 10:04:37 +00:00
clip.rs layout: Add a layout hit test and use it for document.elementsFromPoint (#38463) 2025-08-05 09:48:21 +00:00
conversions.rs layout: Support wavy and double for text-decoration-line (#37079) 2025-05-22 17:42:50 +00:00
gradient.rs layout: Reverse vertical orientation of gradients using corner directions. (#37802) 2025-07-11 20:02:13 +00:00
hit_test.rs script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00
mod.rs script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00
stacking_context.rs script/compositor: Handle cursor updates from script (#38518) 2025-08-07 18:49:38 +00:00