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