Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: core/dom/CharacterData.idl

Issue 1660113002: Updated to Chrome 45 (2454) moved from SVN to git. Base URL: https://github.com/dart-lang/webcore.git@roll_45
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « core/dom/CDATASection.idl ('k') | core/dom/ChildNode.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « core/dom/CDATASection.idl ('k') | core/dom/ChildNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698