1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 12:47:45 +00:00

LibWeb: Implement Range.selectNodeContents

This commit is contained in:
Luke Wilde 2022-01-31 18:51:46 +00:00 committed by Andreas Kling
parent 2b2dbdc74f
commit 8a755726ad
3 changed files with 23 additions and 0 deletions

View file

@ -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 {