Files
ladybird/Tests/LibWeb/Text/expected/hit_testing/button.txt
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

2 lines
17 B
Plaintext