blob: d4684f576f9307185db1c21142e81f37160af8ff [file] [log] [blame]
darin8d1badc2006-03-06 16:50:13 +00001/*
weinig3843e432007-06-07 04:28:36 +00002 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
darin8d1badc2006-03-06 16:50:13 +00003 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
13 *
14 * You should have received a copy of the GNU Library General Public License
15 * along with this library; see the file COPYING.LIB. If not, write to
ddkilzerc8eccec2007-09-26 02:29:57 +000016 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17 * Boston, MA 02110-1301, USA.
darin8d1badc2006-03-06 16:50:13 +000018 */
19
zandobersek@gmail.comd5961562013-11-11 19:58:05 +000020interface CharacterData : Node {
cdumez@apple.com1b6961b2017-05-09 02:46:26 +000021 attribute [TreatNullAs=EmptyString] DOMString data;
commit-queue@webkit.orgcab10ce2012-10-12 06:10:17 +000022 readonly attribute unsigned long length;
cdumez@apple.com19a40432017-05-07 03:48:28 +000023 [MayThrowException] DOMString substringData(unsigned long offset, unsigned long count);
cdumez@apple.com1b6961b2017-05-09 02:46:26 +000024 void appendData(DOMString data);
25 [MayThrowException] void insertData(unsigned long offset, DOMString data);
26 [MayThrowException] void deleteData(unsigned long offset, unsigned long count);
27 [MayThrowException] void replaceData(unsigned long offset, unsigned long count, DOMString data);
commit-queue@webkit.orgcab10ce2012-10-12 06:10:17 +000028};
arv@chromium.org8b0430f2012-09-24 20:04:01 +000029
ch.dumez@sisa.samsung.com2df9bd62013-06-24 07:58:35 +000030CharacterData implements ChildNode;
cdumez@apple.comdca77d62015-05-10 03:22:21 +000031CharacterData implements NonDocumentTypeChildNode;