Index: core/dom/CharacterData.idl |
diff --git a/core/dom/CharacterData.idl b/core/dom/CharacterData.idl |
index 7132d6de9505d1112aac4904df147358f35aad8d..5be788832cdfe7b5830d7063b16257529fd28caa 100644 |
--- a/core/dom/CharacterData.idl |
+++ b/core/dom/CharacterData.idl |
@@ -17,19 +17,17 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
-interface CharacterData : Node { |
+// https://dom.spec.whatwg.org/#interface-characterdata |
+interface CharacterData : Node { |
[TreatNullAs=NullString] attribute DOMString data; |
- |
readonly attribute unsigned long length; |
- |
- [RaisesException] DOMString? substringData(unsigned long offset, unsigned long length); |
- |
+ [RaisesException] DOMString substringData(unsigned long offset, unsigned long count); |
void appendData(DOMString data); |
[RaisesException] void insertData(unsigned long offset, DOMString data); |
- [RaisesException] void deleteData(unsigned long offset, unsigned long length); |
- [RaisesException] void replaceData(unsigned long offset, unsigned long length, DOMString data); |
+ [RaisesException] void deleteData(unsigned long offset, unsigned long count); |
+ [RaisesException] void replaceData(unsigned long offset, unsigned long count, DOMString data); |
}; |
CharacterData implements ChildNode; |
- |
+CharacterData implements NonDocumentTypeChildNode; |