serenity/Userland
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
..
Applets
Applications
Demos
DevTools
DynamicLoader
Games
Libraries LibWeb: Try harder to find a suitable DOM node for mouse event dispatch 2022-10-23 23:32:42 +02:00
Services LibWeb: Add button property in MouseEvent 2022-10-23 15:58:16 +02:00
Shell
Utilities
CMakeLists.txt