ladybird/Userland/Libraries/LibWebView
Timothy Flynn fd558a012b LibWebView: Do not embed text as data in the Inspector HTML
We were previously embedding the original text to handle the special
case where the text is empty. We generate an extra span to hold the
string "#text" as a placeholder, so that we don't generate a 0px-wide,
unclickable (and therefore uneditable) node. Instead, we can just detect
when this is the case in the Inspector JS.

This further reduces the generated HTML for the Inspector on
https://github.com/SerenityOS/serenity from 1.9MB to 1.8MB (about 94KB,
or 4.7%).
2024-02-20 17:04:36 +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 LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
CookieJar.cpp LibWebView: Port the CookieJar to String 2024-01-26 20:22:39 +01:00
CookieJar.h LibWebView: Port the CookieJar to String 2024-01-26 20:22:39 +01: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 LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
History.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
History.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
InspectorClient.cpp LibWebView: Do not embed text as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
InspectorClient.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +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+WebContent: Update IPC calls to handle multiple traversables 2024-02-03 20:51:37 -05:00
OutOfProcessWebView.h Ladybird: Add ability to create a tab without creating a new WebContent 2024-02-03 20:51:37 -05:00
RequestServerAdapter.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
RequestServerAdapter.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
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
SocketPair.cpp LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07:00
SocketPair.h LibWeb+WebContent: Spawn Worker processes from the chrome 2024-01-12 15:53:11 -07: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 LibFileSystem+Userland: Return ByteString from real_path() 2024-01-16 08:42:34 +00: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 Ladybird+WebContent: Update IPC calls to handle multiple traversables 2024-02-03 20:51:37 -05:00
ViewImplementation.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
WebContentClient.cpp LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
WebContentClient.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
WebSocketClientAdapter.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
WebSocketClientAdapter.h Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30