1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 11:58:54 +00:00
serenity/Base
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
..
etc Everywhere: Remove references to UserspaceEmulator 2024-01-29 20:20:55 +00:00
home/anon Base: Add a default AutoMark entry to the Terminal config file 2024-02-07 13:35:49 +01:00
res LibWebView: Do not embed text as data in the Inspector HTML 2024-02-20 17:04:36 +01:00
root Everywhere: Remove references to UserspaceEmulator 2024-01-29 20:20:55 +00:00
usr/share Base: Improve 3DFileViewer manpage 2024-02-08 08:08:25 -07:00
www