LibWeb: Implement Selection.modify

This commit is contained in:
Callum Law 2025-05-15 12:31:41 +12:00 committed by Tim Ledbetter
commit 2eb44229b4
Notes: github-actions[bot] 2025-06-30 09:45:38 +00:00
5 changed files with 106 additions and 0 deletions

View file

@ -25,6 +25,7 @@ interface Selection {
undefined extend(Node node, optional unsigned long offset = 0);
undefined setBaseAndExtent(Node anchorNode, unsigned long anchorOffset, Node focusNode, unsigned long focusOffset);
undefined selectAllChildren(Node node);
undefined modify(optional DOMString alter, optional DOMString direction, optional DOMString granularity);
[CEReactions] undefined deleteFromDocument();
boolean containsNode(Node node, optional boolean allowPartialContainment = false);
stringifier;