1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 17:47:35 +00:00
serenity/Libraries/LibWeb/Page
Andreas Kling e2b4fef6c7 LibWeb: Specialize hit testing for text cursor purposes
The text cursor follows slightly different "intuitive" rules than the
regular hit testing. Clicking past the right edge of a text box should
still "hit" the text box, and place the cursor at its end, for example.

We solve this by adding a HitTestType enum that is passed to hit_test()
and determines whether past-the-edge candidates are considered.
2020-08-05 16:57:51 +02:00
..
EventHandler.cpp LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
EventHandler.h LibWeb: Allow inserting text at the cursor by typing characters :^) 2020-08-02 17:34:50 +02:00
Frame.cpp LibWeb: Add a blinking text cursor :^) 2020-08-02 17:34:50 +02:00
Frame.h LibWeb: Allow inserting text at the cursor by typing characters :^) 2020-08-02 17:34:50 +02:00
Page.cpp LibWeb: Allow inserting text at the cursor by typing characters :^) 2020-08-02 17:34:50 +02:00
Page.h LibWeb: Allow inserting text at the cursor by typing characters :^) 2020-08-02 17:34:50 +02:00