1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 09:04:59 +00:00

LibWebView+WebContent: Add a WebContent IPC to remove a DOM node

The FIXME added to ConnectionFromClient::remove_dom_node is copied from
Web::EditEventHandler. The same behavior is observed here, with many
lingering Layout::TextNodes, for example.
This commit is contained in:
Timothy Flynn 2023-12-05 14:59:54 -05:00 committed by Andreas Kling
parent 86d90f324d
commit 777b4f7921
5 changed files with 26 additions and 0 deletions

View file

@ -67,6 +67,7 @@ public:
Optional<i32> set_dom_node_tag(i32 node_id, String name);
void add_dom_node_attributes(i32 node_id, Vector<Attribute> attributes);
void replace_dom_node_attribute(i32 node_id, String name, Vector<Attribute> replacement_attributes);
void remove_dom_node(i32 node_id);
void debug_request(DeprecatedString const& request, DeprecatedString const& argument = {});