2022-07-27 23:14:16 +03:00
|
|
|
#import <DOM/ChildNode.idl>
|
2022-02-15 22:10:51 +03:00
|
|
|
#import <DOM/Element.idl>
|
|
|
|
#import <DOM/Node.idl>
|
|
|
|
|
2022-07-27 23:14:16 +03:00
|
|
|
// https://dom.spec.whatwg.org/#characterdata
|
2023-09-07 12:36:05 +03:00
|
|
|
[Exposed=Window]
|
2020-08-03 21:50:45 +03:00
|
|
|
interface CharacterData : Node {
|
2021-09-06 03:01:53 +03:00
|
|
|
[LegacyNullToEmptyString] attribute DOMString data;
|
2023-12-22 10:41:34 +03:00
|
|
|
[ImplementedAs=length_in_utf16_code_units] readonly attribute unsigned long length;
|
2020-08-03 21:50:45 +03:00
|
|
|
|
2022-03-21 19:20:42 +03:00
|
|
|
DOMString substringData(unsigned long offset, unsigned long count);
|
2022-07-11 18:23:50 +03:00
|
|
|
undefined appendData(DOMString data);
|
|
|
|
undefined insertData(unsigned long offset, DOMString data);
|
|
|
|
undefined deleteData(unsigned long offset, unsigned long count);
|
2022-03-21 20:05:20 +03:00
|
|
|
undefined replaceData(unsigned long offset, unsigned long count, DOMString data);
|
2022-03-21 19:20:42 +03:00
|
|
|
|
2023-10-25 18:27:19 +03:00
|
|
|
// https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode
|
2020-08-03 21:50:45 +03:00
|
|
|
readonly attribute Element? previousElementSibling;
|
2023-10-25 18:27:19 +03:00
|
|
|
readonly attribute Element? nextElementSibling;
|
2020-12-10 00:26:42 +03:00
|
|
|
};
|
2022-07-30 13:31:17 +03:00
|
|
|
|
|
|
|
CharacterData includes ChildNode;
|