mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
69da6a0ce4
This getter returns the concatenation of the data of the contiguous Text nodes of `this` (being this plus its siblings) in tree order.
14 lines
358 B
Text
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;
|