DocumentType
Generated from idl/dom.webidl when the site was built at 7aa23e2.
DocumentType is an interface in idl/dom.webidl, inheriting Node, exposed in Window. It includes ChildNode. 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 | 8 |
Members
Section titled “Members”readonly attribute DOMString name;int32_t niso_document_type_get_name(niso_dom* dom, niso_handle self, niso_str* out);publicId
Section titled “publicId”readonly attribute DOMString publicId;int32_t niso_document_type_get_public_id(niso_dom* dom, niso_handle self, niso_str* out);systemId
Section titled “systemId”readonly attribute DOMString systemId;int32_t niso_document_type_get_system_id(niso_dom* dom, niso_handle self, niso_str* out);before()
Section titled “before()”undefined before((Node or DOMString)... nodes);int32_t niso_child_node_before(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);after()
Section titled “after()”undefined after((Node or DOMString)... nodes);int32_t niso_child_node_after(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);replaceWith()
Section titled “replaceWith()”undefined replaceWith((Node or DOMString)... nodes);int32_t niso_child_node_replace_with(niso_dom* dom, niso_handle self, const niso_node_or_string* nodes, size_t nodes_len);remove()
Section titled “remove()”undefined remove();int32_t niso_child_node_remove(niso_dom* dom, niso_handle self);