summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-01-30 22:19:50 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-08 20:28:55 +0200
commitae8cc0e398df8c172561434375600fd3300160ab (patch)
tree1b166cdbed036d9e40b94b2b068e3513bc85cdf4 /dom
parent7d49b154e2275701fd5e65ac8990ee45e30bb69d (diff)
downloaduxp-ae8cc0e398df8c172561434375600fd3300160ab.tar.gz
Issue #1836 - Implement Selection.setBaseAndExtent()
Diffstat (limited to 'dom')
-rw-r--r--dom/webidl/Selection.webidl6
1 files changed, 6 insertions, 0 deletions
diff --git a/dom/webidl/Selection.webidl b/dom/webidl/Selection.webidl
index c3eac016cb..2b85b87f90 100644
--- a/dom/webidl/Selection.webidl
+++ b/dom/webidl/Selection.webidl
@@ -46,6 +46,12 @@ interface Selection {
[Throws]
boolean containsNode(Node node, boolean allowPartialContainment);
+ [Throws]
+ void setBaseAndExtent(Node anchorNode,
+ unsigned long anchorOffset,
+ Node focusNode,
+ unsigned long focusOffset);
+
stringifier;
};