ladybird/Libraries/LibWeb/DOM/Text.idl
Timothy Flynn 8b6e3cb735 LibWeb+LibUnicode+WebContent: Port DOM:CharacterData to UTF-16
This replaces the underlying storage of CharacterData with Utf16String
and deals with the fallout.
2025-07-24 19:00:20 +02:00

14 lines
368 B
Text

#import <DOM/CharacterData.idl>
#import <DOM/Slottable.idl>
#import <HTML/HTMLSlotElement.idl>
// https://dom.spec.whatwg.org/#text
[Exposed=Window]
interface Text : CharacterData {
constructor(optional Utf16DOMString data = "");
[NewObject] Text splitText(unsigned long offset);
readonly attribute Utf16DOMString wholeText;
};
Text includes Slottable;