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.
This commit is contained in:
Ángel Carias 2024-07-19 13:57:24 -06:00 committed by Tim Ledbetter
commit 69da6a0ce4
Notes: github-actions[bot] 2024-07-20 17:03:45 +00:00
5 changed files with 76 additions and 1 deletions

View file

@ -8,7 +8,7 @@ interface Text : CharacterData {
constructor(optional DOMString data = "");
[NewObject] Text splitText(unsigned long offset);
[FIXME] readonly attribute DOMString wholeText;
readonly attribute DOMString wholeText;
};
Text includes Slottable;