ladybird/Userland/Libraries/LibWeb/DOM/Text.idl
Ángel Carias 69da6a0ce4 LibWeb: Implement Text.wholeText
This getter returns the concatenation of the data of the contiguous
Text nodes of `this` (being this plus its siblings) in tree order.
2024-07-20 18:02:51 +01:00

14 lines
358 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 DOMString data = "");
[NewObject] Text splitText(unsigned long offset);
readonly attribute DOMString wholeText;
};
Text includes Slottable;