2022-02-15 22:40:51 +03:30
|
|
|
#import <DOM/Element.idl>
|
|
|
|
#import <DOM/Node.idl>
|
|
|
|
|
2020-08-03 20:50:45 +02:00
|
|
|
interface CharacterData : Node {
|
|
|
|
|
2021-09-06 01:01:53 +01:00
|
|
|
[LegacyNullToEmptyString] attribute DOMString data;
|
2020-08-03 20:50:45 +02:00
|
|
|
readonly attribute unsigned long length;
|
|
|
|
|
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
|
|
|
|
2020-08-03 20:50:45 +02:00
|
|
|
readonly attribute Element? nextElementSibling;
|
|
|
|
readonly attribute Element? previousElementSibling;
|
|
|
|
|
2022-01-29 21:33:12 +00:00
|
|
|
// FIXME: These should come from a ChildNode mixin
|
|
|
|
[CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
|
2022-01-29 21:44:41 +00:00
|
|
|
[CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
|
2022-01-29 22:25:51 +00:00
|
|
|
[CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
|
2021-09-29 16:25:48 +01:00
|
|
|
[CEReactions, Unscopable, ImplementedAs=remove_binding] undefined remove();
|
|
|
|
|
2020-12-09 21:26:42 +00:00
|
|
|
};
|