1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 20:17:42 +00:00
serenity/Tests/LibWeb/Text/expected/hit_testing
Aliaksandr Kalenik 556679fedd LibWeb: Account for scroll offset in hit-testing
The hit-testing position is now shifted by the scroll offsets before
performing any checks for containment. This is implemented by assigning
each PaintableBox/InlinePaintable an offset corresponding to the scroll
frame in which it is contained. The non-scroll-adjusted position is
still passed down when recursing to children because the assigned
offset accumulated for nested scroll frames.

With this change, hit testing works in the Inspector.
Fixes https://github.com/SerenityOS/serenity/issues/22068
2024-01-29 09:57:40 +01:00
..
basic.txt LibWeb: Add hit testing API in internals object 2023-08-09 17:26:44 +02:00
float-with-inline-sibling-after.txt LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block 2023-12-11 13:19:12 +01:00
grid.txt LibWeb: Treat grid item as it creates stacking context during painting 2023-08-22 11:33:24 +02:00
inline-stacking-context.txt LibWeb: Allow inline nodes to establish a stacking context 2024-01-05 19:36:55 +01:00
nested-inline-paintables.txt LibWeb: Test nested elements in InlinePaintable::hit_test() 2024-01-25 15:53:18 +01:00
overflow-scroll.txt LibWeb: Account for scroll offset in hit-testing 2024-01-29 09:57:40 +01:00
text.txt LibWeb: Remove implicit conversion from float and double to CSSPixels 2023-08-26 23:53:45 +02:00