mirror of
https://github.com/RGBCube/serenity
synced 2026-01-13 00:11:00 +00:00
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. |
||
|---|---|---|
| .. | ||
| PaintContext.h | ||
| StackingContext.cpp | ||
| StackingContext.h | ||