1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-08 21:17:35 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Aliaksandr Kalenik
edab67d5e8 LibWeb: Fix hit-testing for button element
Change 'dom_node_for_event_dispatch' to locate the closest layout node
with a DOM node instead of only checking the direct ancestor.

This fixes hit-testing for buttons because they are wrapped into
multiple anonymous layout nodes (internally we use flex formatting for
them).
2024-02-13 14:22:14 +01:00