1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:37:44 +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

@ -16,6 +16,7 @@ interface Range : AbstractRange {
undefined setEndAfter(Node node);
undefined collapse(optional boolean toStart = false);
undefined selectNode(Node node);
undefined selectNodeContents(Node node);
const unsigned short START_TO_START = 0;
const unsigned short START_TO_END = 1;