Rewi Haar
521e730df1
LibWeb: Calculate selection based on glyph centers
...
Previously you had to drag all the way to the end of a glyph to select
it; now you just need to drag past the center. Also fixes #2959 .
2020-08-26 08:44:31 +02:00
Andreas Kling
56c3748dcc
LibWeb: Rename PageView => InProcessWebView
2020-08-17 18:05:35 +02:00
Andreas Kling
9bdd8ec3f3
LibWeb: Don't paint a text cursor in unfocused frames
2020-08-14 12:15:11 +02:00
Andreas Kling
6b4a7d1ee3
LibWeb: Add "focused frame" concept, one focused Frame per Page
...
Focus currently only moves when doing a mousedown in a frame.
2020-08-14 12:15:11 +02:00
Andreas Kling
1c7faa8965
LibWeb: Move text selection serialization from PageView to Frame
...
This logic doesn't depend on anything at the widget layer, so it can
move down to the frame layer.
2020-08-06 19:59:24 +02:00
Andreas Kling
2c679d0c8b
LibWeb: Add a blinking text cursor :^)
...
Each Web::Frame now has a cursor that sits at a DOM::Position. It will
blink and look like a nice regular text cursor.
It doesn't really do anything yet, but it will eventually.
2020-08-02 17:34:50 +02:00
Andreas Kling
ef711f501e
LibWeb: Move the Page/Frame/EventHandler classes into Page/
2020-07-28 19:28:29 +02:00