Files
ladybird/Libraries/LibWeb/DOM/CharacterData.idl
Shannon Booth cc6e048bd6 LibWeb+LibIDL: Remove support for #import directives during parsing
These no longer serve any purpose now that we run the IDLGenerator
on all of these files at once.
2026-04-24 20:08:29 +02:00

19 lines
817 B
Plaintext

// https://dom.spec.whatwg.org/#characterdata
[Exposed=Window]
interface CharacterData : Node {
[LegacyNullToEmptyString] attribute Utf16DOMString data;
[ImplementedAs=length_in_utf16_code_units] readonly attribute unsigned long length;
Utf16DOMString substringData(unsigned long offset, unsigned long count);
undefined appendData(Utf16DOMString data);
undefined insertData(unsigned long offset, Utf16DOMString data);
undefined deleteData(unsigned long offset, unsigned long count);
undefined replaceData(unsigned long offset, unsigned long count, Utf16DOMString data);
// https://dom.spec.whatwg.org/#interface-nondocumenttypechildnode
readonly attribute Element? previousElementSibling;
readonly attribute Element? nextElementSibling;
};
CharacterData includes ChildNode;