1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-06 06:57:35 +00:00
serenity/Libraries/LibWeb
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
..
Bindings LibWeb: Add CharacterData and Text IDL interfaces 2020-08-03 20:50:45 +02:00
CodeGenerators LibWeb: Move HTML classes into the Web::HTML namespace 2020-07-28 18:55:48 +02:00
CSS LibWeb: Move the Page/Frame/EventHandler classes into Page/ 2020-07-28 19:28:29 +02:00
DOM LibWeb: Make sure that head and body always get the HTML element 2020-08-04 11:05:14 +02:00
HTML Unicode: s/codepoint/code_point/g 2020-08-03 19:06:41 +02:00
Layout LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
Loader ProtocolServer+LibTLS: Pipe certificate requests from LibTLS to clients 2020-08-02 18:57:51 +02:00
Page LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
Painting LibWeb: Specialize hit testing for text cursor purposes 2020-08-05 16:57:51 +02:00
Scripts LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
SVG LibWeb: Fix some SVG crashes/hangs 2020-08-02 19:16:40 +02:00
Tests LibWeb: Add a very basic test for Text node APIs ("data" and "length") 2020-08-03 20:53:26 +02:00
UIEvents LibWeb: Oops, provide the correct WrapperType for UIEvent 2020-07-28 19:40:11 +02:00
CMakeLists.txt Build: Support make's and ninja's restat optimization 2020-08-04 15:58:08 +02:00
DOMTreeModel.cpp LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
DOMTreeModel.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
Dump.cpp LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
Dump.h LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
FontCache.cpp LibWeb: Rename directory LibHTML => LibWeb 2020-03-07 10:32:51 +01:00
FontCache.h LibWeb: Use FlyString in FontCache keys 2020-05-26 23:45:48 +02:00
Forward.h LibWeb: Add CharacterData and Text IDL interfaces 2020-08-03 20:50:45 +02:00
LayoutTreeModel.cpp LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
LayoutTreeModel.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00
Origin.h LibWeb: Add Origin concept (protocol, host, port tuple) 2020-04-07 23:01:45 +02:00
PageView.cpp LibWeb: Allow inserting text at the cursor by typing characters :^) 2020-08-02 17:34:50 +02:00
PageView.h LibWeb: Move the Page/Frame/EventHandler classes into Page/ 2020-07-28 19:28:29 +02:00
StylePropertiesModel.cpp LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
StylePropertiesModel.h LibWeb: Move CSS classes into the Web::CSS namespace 2020-07-26 20:05:15 +02:00
TreeNode.h LibWeb: Switch to using AK::is and AK::downcast 2020-07-26 17:51:00 +02:00
URLEncoder.cpp LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
URLEncoder.h LibWeb: Use the URL encoder from AK instead of rolling a custom one 2020-06-15 17:56:00 +02:00
WebContentClient.cpp LibWeb: Make context menus work in WebContentView 2020-07-07 12:24:29 +02:00
WebContentClient.h LibWeb: Make context menus work in WebContentView 2020-07-07 12:24:29 +02:00
WebContentView.cpp LibWeb: Send key events to the WebContent process 2020-08-03 19:58:59 +02:00
WebContentView.h LibWeb: Send key events to the WebContent process 2020-08-03 19:58:59 +02:00
WebViewHooks.h LibWeb: Move DOM classes into the Web::DOM namespace 2020-07-26 20:05:15 +02:00