Skip to content

Comment

Generated from idl/dom.webidl when the site was built at 7aa23e2.

Comment 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.

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 2
constructor
constructor(optional DOMString data = "");
int32_t niso_comment_new(niso_dom* dom, const char* data, size_t data_len, niso_handle* out);