1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-07 01:37:35 +00:00
serenity/Libraries/LibWeb/Painting
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
..
PaintContext.h LibWeb: Rename LayoutNode::render() to paint() 2020-06-18 21:37:20 +02:00
StackingContext.cpp LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
StackingContext.h LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00