Index: third_party/WebKit/Source/core/dom/StaticRange.idl |
diff --git a/third_party/WebKit/Source/core/dom/StaticRange.idl b/third_party/WebKit/Source/core/dom/StaticRange.idl |
index 5cc6feec5138b51cf948536d1fcb463a2eda9b7c..9268a947ca0a6ab5a2a5b969c6e7839f7aef727d 100644 |
--- a/third_party/WebKit/Source/core/dom/StaticRange.idl |
+++ b/third_party/WebKit/Source/core/dom/StaticRange.idl |
@@ -5,19 +5,11 @@ |
// https://garykac.github.io/staticrange/#interface-staticrange |
[ |
- Constructor, |
- ConstructorCallWith=Document, |
- Exposed=Window, |
RuntimeEnabled=InputEvent, |
] interface StaticRange { |
- attribute Node startContainer; |
- attribute unsigned long startOffset; |
- attribute Node endContainer; |
- attribute unsigned long endOffset; |
+ readonly attribute Node startContainer; |
+ readonly attribute unsigned long startOffset; |
+ readonly attribute Node endContainer; |
+ readonly attribute unsigned long endOffset; |
readonly attribute boolean collapsed; |
- |
- void setStart(Node node, unsigned long offset); |
- void setEnd(Node node, unsigned long offset); |
- |
- [NewObject, RaisesException] Range toRange(); |
}; |