mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:37:36 +00:00
LibWeb: Implement Selection.collapse_to_end
This commit is contained in:
parent
bb5da1b4e2
commit
227d860d6b
2 changed files with 17 additions and 3 deletions
|
@ -40,7 +40,7 @@ public:
|
|||
WebIDL::ExceptionOr<void> collapse(JS::GCPtr<DOM::Node>, unsigned offset);
|
||||
WebIDL::ExceptionOr<void> set_position(JS::GCPtr<DOM::Node>, unsigned offset);
|
||||
WebIDL::ExceptionOr<void> collapse_to_start();
|
||||
void collapse_to_end();
|
||||
WebIDL::ExceptionOr<void> collapse_to_end();
|
||||
WebIDL::ExceptionOr<void> extend(JS::NonnullGCPtr<DOM::Node>, unsigned 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>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue