summaryrefslogtreecommitdiffstats
path: root/dom/webidl/Range.webidl
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:34:42 +0000
commitda4c7e7ed675c3bf405668739c3012d140856109 (patch)
treecdd868dba063fecba609a1d819de271f0d51b23e /dom/webidl/Range.webidl
parentAdding upstream version 125.0.3. (diff)
downloadfirefox-da4c7e7ed675c3bf405668739c3012d140856109.tar.xz
firefox-da4c7e7ed675c3bf405668739c3012d140856109.zip
Adding upstream version 126.0.upstream/126.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--dom/webidl/Range.webidl9
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/webidl/Range.webidl b/dom/webidl/Range.webidl
index 9d06ec09c7..95dff7721a 100644
--- a/dom/webidl/Range.webidl
+++ b/dom/webidl/Range.webidl
@@ -94,3 +94,12 @@ partial interface Range {
[ChromeOnly, Throws]
ClientRectsAndTexts getClientRectsAndTexts();
};
+
+// ChromeOnly methods that allow setting Range boundaries to cross
+// shadow boundary.
+partial interface Range {
+ [ChromeOnly, Throws]
+ undefined setStartAllowCrossShadowBoundary(Node refNode, unsigned long offset);
+ [ChromeOnly, Throws]
+ undefined setEndAllowCrossShadowBoundary(Node refNode, unsigned long offset);
+};