summaryrefslogtreecommitdiffstats
path: root/dom/webidl/Range.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webidl/Range.webidl')
-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);
+};