mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 04:52:23 +00:00
LibWeb: Implement Range.collapse
This commit is contained in:
parent
dfdc2ddb9e
commit
2b2dbdc74f
Notes:
sideshowbarker
2024-07-17 18:14:28 +09:00
Author: https://github.com/Lubrsi
Commit: 2b2dbdc74f
Pull-request: https://github.com/SerenityOS/serenity/pull/12774
3 changed files with 16 additions and 0 deletions
|
@ -31,6 +31,7 @@ public:
|
|||
ExceptionOr<void> set_end_before(Node& node);
|
||||
ExceptionOr<void> set_end_after(Node& node);
|
||||
ExceptionOr<void> select_node(Node& node);
|
||||
void collapse(bool to_start);
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-range-start_to_start
|
||||
enum HowToCompareBoundaryPoints : u16 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue