Text
Generated from idl/dom.webidl when the site was built at 7aa23e2.
Text is an interface in idl/dom.webidl, inheriting CharacterData, exposed in Window. What it does is on MDN; this page says what niso has of it.
Status
Section titled “Status”The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).
| Feature | On the web | In niso | Members |
|---|---|---|---|
| DOM | Widely available | No WPT tests WPT maps no test to it | 4 |
Members
Section titled “Members”constructor
Section titled “constructor”constructor(optional DOMString data = "");int32_t niso_text_new(niso_dom* dom, const char* data, size_t data_len, niso_handle* out);splitText()
Section titled “splitText()”Text splitText(unsigned long offset);int32_t niso_text_split_text(niso_dom* dom, niso_handle self, uint32_t offset, niso_handle* out);wholeText
Section titled “wholeText”readonly attribute DOMString wholeText;int32_t niso_text_get_whole_text(niso_dom* dom, niso_handle self, niso_str* out);Not in niso yet
Section titled “Not in niso yet”Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.
assignedSlot(<slot>)getBoxQuads(getBoxQuads())