Skip to content

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.

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
attribute
readonly attribute DOMString name;
int32_t niso_document_type_get_name(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute DOMString publicId;
int32_t niso_document_type_get_public_id(niso_dom* dom, niso_handle self, niso_str* out);
attribute
readonly attribute DOMString systemId;
int32_t niso_document_type_get_system_id(niso_dom* dom, niso_handle self, niso_str* out);
operation from ChildNode
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);
operation from ChildNode
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);
operation from ChildNode
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);
operation from ChildNode
undefined remove();
int32_t niso_child_node_remove(niso_dom* dom, niso_handle self);