1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:17:35 +00:00
serenity/Userland/Libraries/LibWeb/Page
Andreas Kling 3e6aaa3520 LibWeb: Update focus target when handling mousedown events
If the mousedown event hits something with is_focusable()==true,
we now update the document's focused element *instead* of placing the
text cursor at the focusable element.

This allows you to begin editing input elements by clicking them.

This feels very hackish and we'll need to come up with something nicer.
2022-02-06 22:13:13 +01:00
..
EditEventHandler.cpp LibWeb: Rename "frame" to "browsing_context" in various places 2022-02-06 16:22:58 +01:00
EditEventHandler.h LibWeb: Rename "frame" to "browsing_context" in various places 2022-02-06 16:22:58 +01:00
EventHandler.cpp LibWeb: Update focus target when handling mousedown events 2022-02-06 22:13:13 +01:00
EventHandler.h LibWeb: Rename "frame" to "browsing_context" in various places 2022-02-06 16:22:58 +01:00
Page.cpp Userland: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00
Page.h Userland: Add horizontal mouse scroll support 2022-01-20 10:37:52 +01:00