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