1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00
serenity/Userland/Libraries/LibWeb
Timothy Flynn d8106dda73 LibWeb: Add "Label" to be the layout node for HTMLLabelElement
The HTML <label> element is special in that it may be associated with
some other <input> element. When the label element is clicked, the input
element should be activated.

To achieve this, a LableableNode base class is introduced to provide an
interface for "labelable" elements to handle mouse events on their
associated labels. This not only allows clicking the label to activate
the input, but dragging the mouse from the label to the input (and vice-
versa) while the mouse is clicked will also active the label.

As of this commit, this infrastructure is not hooked up to any elements.
2021-04-04 16:13:25 +02:00
..
Bindings LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00
CodeGenerators LibWeb: Implement XMLHttpRequest.getResponseHeader() 2021-04-03 16:34:34 +02:00
CSS LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00
DOM LibWeb: Implement the Screen interface 2021-04-04 00:37:54 +02:00
DumpLayoutTree Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
HighResolutionTime LibWeb: Stub out the PerformanceTiming object from Navigation Timing 2021-01-18 15:11:20 +01:00
HTML LibWeb: Add "Label" to be the layout node for HTMLLabelElement 2021-04-04 16:13:25 +02:00
Layout LibWeb: Add "Label" to be the layout node for HTMLLabelElement 2021-04-04 16:13:25 +02:00
Loader LibWeb: Pass optional status code to ResourceLoader callbacks 2021-04-03 16:34:34 +02:00
NavigationTiming LibWeb: Stub out the PerformanceTiming object from Navigation Timing 2021-01-18 15:11:20 +01:00
Page LibWeb+WebContent: Keep track of screen rect 2021-04-04 00:37:54 +02:00
Painting LibWeb: Don't hit test a stacked child if it is behind its parent 2021-03-31 23:53:15 +02:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVG Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Tests Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
UIEvents LibWeb: Dispatch "resize" events on the Window object 2021-03-16 18:10:21 +01:00
XHR LibWeb: Implement XMLHttpRequest.getResponseHeader() 2021-04-03 16:34:34 +02:00
CMakeLists.txt LibWeb: Add "Label" to be the layout node for HTMLLabelElement 2021-04-04 16:13:25 +02:00
DOMTreeModel.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
DOMTreeModel.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Dump.cpp LibWeb: Split CSS::StyleSheet into StyleSheet and CSSStyleSheet 2021-03-07 17:45:15 +01:00
Dump.h LibWeb: Rename StyleRule => CSSStyleRule 2021-03-07 17:45:15 +01:00
FontCache.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
FontCache.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
Forward.h LibWeb: Add "Label" to be the layout node for HTMLLabelElement 2021-04-04 16:13:25 +02:00
InProcessWebView.cpp LibWeb: Make tiled backgrounds scroll with content 2021-03-07 13:49:20 +01:00
InProcessWebView.h LibWeb+WebContent: Keep track of screen rect 2021-04-04 00:37:54 +02:00
LayoutTreeModel.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LayoutTreeModel.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Namespace.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Namespace.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Origin.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
OutOfProcessWebView.cpp LibWeb+WebContent: Keep track of screen rect 2021-04-04 00:37:54 +02:00
OutOfProcessWebView.h LibWeb+WebContent: Keep track of screen rect 2021-04-04 00:37:54 +02:00
QualifiedName.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
StylePropertiesModel.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
StylePropertiesModel.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
TreeNode.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
URLEncoder.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
URLEncoder.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
WebContentClient.cpp LibWeb+WebContent: Support displaying tooltips in OOPWV 2021-03-30 21:21:17 +02:00
WebContentClient.h LibWeb+WebContent: Support displaying tooltips in OOPWV 2021-03-30 21:21:17 +02:00
WebViewHooks.h LibWeb: Add in all of the plumbing required to use the JS console over IPC 2021-02-28 15:30:17 +01:00