mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
LibWeb: Implement Range.collapse
This commit is contained in:
parent
dfdc2ddb9e
commit
2b2dbdc74f
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