serenity/Userland
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
..
Applets Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Applications Browser: Remove some needless indirection from Cookie-related IPCs 2024-01-26 20:22:39 +01:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos WidgetGallery: Remove quotes around GML boolean values 2024-01-21 08:38:18 -05:00
DevTools HackStudio: Replace custom recent-project management with the LibGUI one 2024-01-24 11:07:03 +00:00
DynamicLoader LibC: Separate arch dependent fenv functions 2024-01-22 20:06:09 -07:00
Games AK+Userland: Return String from human_readable_[digital_]time() 2024-01-25 09:07:32 +01:00
Libraries LibWeb: Account for scroll offset in hit-testing 2024-01-29 09:57:40 +01:00
Services LibWeb+WebContent: Port the did_request_named_cookie IPC to String 2024-01-26 20:22:39 +01:00
Shell Shell: Use reverse iterators for history events 2024-01-23 01:31:25 +03:30
Utilities Ladybird+LibWeb+WebContent: Port the did_request_cookie IPC to String 2024-01-26 20:22:39 +01:00
CMakeLists.txt