1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 18:17:34 +00:00
serenity/Userland/Libraries/LibWeb/Page
Timothy Flynn f07f5a2622 LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML
Attribute values may contain HTML, and may contain invalid HTML at that.
If the latter occurs, let's not generate invalid Inspector HTML when we
embed the attribute values as data attributes. Instead, cache the values
in the InspectorClient, and embed just a lookup index into the HTML.

This also nicely reduces the size of the generated HTML. The Inspector
on https://github.com/SerenityOS/serenity reduces from 2.3MB to 1.9MB
(about 318KB, or 13.8%).
2024-02-20 17:04:36 +01:00
..
EditEventHandler.cpp LibWeb: Change DOM::Position to be GC-allocated 2023-09-26 21:25:54 +02:00
EditEventHandler.h LibWeb: Change DOM::Position to be GC-allocated 2023-09-26 21:25:54 +02:00
EventHandler.cpp LibWeb: Display an IBeam cursor by default when mousing over a text node 2024-02-13 19:47:39 +01:00
EventHandler.h LibWeb: Use paintable to represent event tracking node 2024-01-15 09:00:35 +01:00
Page.cpp LibWeb: Set the UserNavigationInvolvement for UI initiated navigations 2024-01-19 11:47:59 +01:00
Page.h LibWeb+WebContent: Do not embed attributes as data in the Inspector HTML 2024-02-20 17:04:36 +01:00