1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00
serenity/Userland/Libraries/LibWeb/Page
Andreas Kling 29c6aabf49 LibWeb: Try harder to find a suitable DOM node for mouse event dispatch
Since our hit testing mechanism gives you the Paintable under the mouse
cursor, we can't just give up if that paintable doesn't have a
corresponding DOM node. That meant that generated content like pseudo-
elements didn't generate mouse events at all.

Fix this by making a dom_node_for_event_dispatch() helper function that
finds a suitable DOM node when given a paintable. This first cut is very
naive, and there's probably more we should do, but we have to start
somewhere. :^)
2022-10-23 23:32:42 +02:00
..
EditEventHandler.cpp LibWeb: Refresh text-<input> contents when pressing backspace or delete 2022-02-19 11:28:59 +01:00
EditEventHandler.h LibWeb: Rename "frame" to "browsing_context" in various places 2022-02-06 16:22:58 +01:00
EventHandler.cpp LibWeb: Try harder to find a suitable DOM node for mouse event dispatch 2022-10-23 23:32:42 +02:00
EventHandler.h LibWeb: Add button property in MouseEvent 2022-10-23 15:58:16 +02:00
Page.cpp LibWeb: Add button property in MouseEvent 2022-10-23 15:58:16 +02:00
Page.h LibWeb: Add button property in MouseEvent 2022-10-23 15:58:16 +02:00