1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 14:25:08 +00:00
serenity/Userland/Libraries/LibWebView
Timothy Flynn 55ec1cbfb5 LibWebView: Allow editing empty DOM text nodes in the Inspector
When a DOM text node is empty, we currently render the node name (which
is "#text") in the Inspector. This is just to prevent displaying nothing
at all, which looks a bit off. However, the patch to allow editing text
fields neglected to allow editing these empty fields.

This patch attaches the original text data as a data attribute, much
like we do for DOM attributes. That is used as the editable text in the
inspector, and the empty text fields are now wrapped in an editable
span.
2023-12-10 09:44:34 +01:00
..
Attribute.cpp LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
Attribute.h LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
CMakeLists.txt LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
CookieJar.cpp LibWeb: Port ParsedCookie from DeprecatedString to String 2023-11-28 17:15:27 -05:00
CookieJar.h AK: Rename GenericTraits to DefaultTraits 2023-11-09 10:05:51 -05:00
Database.cpp Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
Database.h Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
Forward.h LibWebView+WebContent: Add APIs to manipulate DOM nodes 2023-12-04 01:33:57 +01:00
History.cpp Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
History.h Ladybird+LibWebView: Move CookieJar, Database, and History to LibWebView 2023-08-31 19:19:45 +02:00
InspectorClient.cpp LibWebView: Allow editing empty DOM text nodes in the Inspector 2023-12-10 09:44:34 +01:00
InspectorClient.h LibWebView: Log the result of taking screenshots to Inspector's console 2023-12-10 09:44:34 +01:00
Native.css LibWebView: Add a standard "look like the OS" style sheet 2023-08-25 20:30:20 +01:00
OutOfProcessWebView.cpp Ladybird+LibWebView: Move options used to launch WebContent to a struct 2023-12-01 20:07:27 -05:00
OutOfProcessWebView.h Ladybird+LibWebView: Move options used to launch WebContent to a struct 2023-12-01 20:07:27 -05:00
RequestServerAdapter.cpp LibProtocol+LibWebView: Allow callers provide their own RequestClient 2023-08-02 05:44:43 +02:00
RequestServerAdapter.h LibProtocol+LibWebView: Allow callers provide their own RequestClient 2023-08-02 05:44:43 +02:00
SearchEngine.cpp LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SearchEngine.h LibWebView: Add an API to format a search query for UI display 2023-10-24 07:28:30 +02:00
SourceHighlighter.cpp LibWebView: Extract CSS to highlight HTML source to a constant 2023-11-24 08:37:19 +01:00
SourceHighlighter.h LibWebView: Implement a WebView-based Inspector client 2023-11-24 08:37:19 +01:00
URL.cpp LibWebView: Add some helpers for "Copy email/telephone" functionality 2023-12-05 11:36:22 -05:00
URL.h LibWebView: Add some helpers for "Copy email/telephone" functionality 2023-12-05 11:36:22 -05:00
UserAgent.cpp Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
UserAgent.h Browser+Ladybird: Let the list of user agent strings be shared 2023-09-13 19:33:07 -04:00
ViewImplementation.cpp LibWebView: Log the result of taking screenshots to Inspector's console 2023-12-10 09:44:34 +01:00
ViewImplementation.h LibWebView: Log the result of taking screenshots to Inspector's console 2023-12-10 09:44:34 +01:00
WebContentClient.cpp Ladybird+LibWeb: Add basic select element support 2023-12-09 22:06:20 +01:00
WebContentClient.h Ladybird+LibWeb: Add basic select element support 2023-12-09 22:06:20 +01:00
WebSocketClientAdapter.cpp LibWebView+LibProtocol: Allow app to pass custom WebSocketClients 2023-08-03 09:55:20 +02:00
WebSocketClientAdapter.h LibWebView+LibProtocol: Allow app to pass custom WebSocketClients 2023-08-03 09:55:20 +02:00