Skip to content

ProcessingInstruction

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

ProcessingInstruction 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
attribute
readonly attribute DOMString target;
int32_t niso_processing_instruction_get_target(niso_dom* dom, niso_handle self, niso_str* out);

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.

  • doc_html (HTML processing instructions)
  • doc_xml (DOM)
  • getAttribute (HTML processing instructions)
  • getAttributeNames (HTML processing instructions)
  • hasAttribute (HTML processing instructions)
  • hasAttributes (HTML processing instructions)
  • removeAttribute (HTML processing instructions)
  • setAttribute (HTML processing instructions)
  • sheet (CSS object model)
  • toggleAttribute (HTML processing instructions)