LibWeb: Implement Range.selectNodeContents

This commit is contained in:
Luke Wilde 2022-01-31 18:51:46 +00:00 committed by Andreas Kling
commit 8a755726ad
Notes: sideshowbarker 2024-07-17 18:14:24 +09:00
3 changed files with 23 additions and 0 deletions

View file

@ -32,6 +32,7 @@ public:
ExceptionOr<void> set_end_after(Node& node);
ExceptionOr<void> select_node(Node& node);
void collapse(bool to_start);
ExceptionOr<void> select_node_contents(Node const&);
// https://dom.spec.whatwg.org/#dom-range-start_to_start
enum HowToCompareBoundaryPoints : u16 {