diff options
author | Luke Wilde <lukew@serenityos.org> | 2022-01-31 17:35:03 +0000 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-26 12:53:32 +0100 |
commit | d73fb7e10f58a82a8700809530226bc51e237562 (patch) | |
tree | 1b6a370a137baec095d78a905a70c545ce2a80c4 /Userland/Libraries/LibWeb/DOM/Range.h | |
parent | 46ce50f74eb453178661a7e2a405b69b6fc51234 (diff) | |
download | serenity-d73fb7e10f58a82a8700809530226bc51e237562.zip |
LibWeb: Implement Range.set{Start,End}{Before,After}
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/Range.h')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Range.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/Range.h b/Userland/Libraries/LibWeb/DOM/Range.h index 06fed39b5d..b145a30f98 100644 --- a/Userland/Libraries/LibWeb/DOM/Range.h +++ b/Userland/Libraries/LibWeb/DOM/Range.h @@ -26,6 +26,10 @@ public: ExceptionOr<void> set_start(Node& node, u32 offset); ExceptionOr<void> set_end(Node& node, u32 offset); + ExceptionOr<void> set_start_before(Node& node); + ExceptionOr<void> set_start_after(Node& node); + ExceptionOr<void> set_end_before(Node& node); + ExceptionOr<void> set_end_after(Node& node); NonnullRefPtr<Range> inverted() const; NonnullRefPtr<Range> normalized() const; |