diff options
author | Luke Wilde <lukew@serenityos.org> | 2022-12-09 19:00:18 +0000 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-12-10 00:21:10 +0000 |
commit | 919aa4501780283062ffe10d1f45dd473feb6081 (patch) | |
tree | 34e8b114fa399cd8afd8ebce4d5ba8accabe9f91 /Userland/Libraries/LibWeb/Selection/Selection.h | |
parent | b47aceb480fff5aa6cab7f23553d6fa39840b577 (diff) | |
download | serenity-919aa4501780283062ffe10d1f45dd473feb6081.zip |
LibWeb: Implement Selection.setBaseAndExtent
Diffstat (limited to 'Userland/Libraries/LibWeb/Selection/Selection.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Selection/Selection.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Selection/Selection.h b/Userland/Libraries/LibWeb/Selection/Selection.h index fbccc7e780..a0d89b1932 100644 --- a/Userland/Libraries/LibWeb/Selection/Selection.h +++ b/Userland/Libraries/LibWeb/Selection/Selection.h @@ -42,7 +42,7 @@ public: void collapse_to_start(); void collapse_to_end(); WebIDL::ExceptionOr<void> extend(JS::NonnullGCPtr<DOM::Node>, unsigned offset); - void set_base_and_extent(JS::NonnullGCPtr<DOM::Node> anchor_node, unsigned anchor_offset, JS::NonnullGCPtr<DOM::Node> focus_node, unsigned focus_offset); + WebIDL::ExceptionOr<void> set_base_and_extent(JS::NonnullGCPtr<DOM::Node> anchor_node, unsigned anchor_offset, JS::NonnullGCPtr<DOM::Node> focus_node, unsigned focus_offset); WebIDL::ExceptionOr<void> select_all_children(JS::NonnullGCPtr<DOM::Node>); WebIDL::ExceptionOr<void> delete_from_document(); |