LibWeb: Implement the "set the selection's value" editing algorithm

This commit is contained in:
Jelle Raaijmakers 2025-01-07 14:06:21 +01:00 committed by Andreas Kling
commit fef02036dd
Notes: github-actions[bot] 2025-01-10 22:37:34 +00:00
2 changed files with 94 additions and 0 deletions

View file

@ -91,6 +91,7 @@ void remove_node_preserving_its_descendants(GC::Ref<DOM::Node>);
void reorder_modifiable_descendants(GC::Ref<DOM::Node>, FlyString const&, Optional<String>);
void restore_states_and_values(DOM::Document&, Vector<RecordedOverride> const&);
void restore_the_values_of_nodes(Vector<RecordedNodeValue> const&);
void set_the_selections_value(DOM::Document&, FlyString const&, Optional<String>);
GC::Ref<DOM::Element> set_the_tag_name(GC::Ref<DOM::Element>, FlyString const&);
Optional<String> specified_command_value(GC::Ref<DOM::Element>, FlyString const& command);
void split_the_parent_of_nodes(Vector<GC::Ref<DOM::Node>> const&);