Expand description

This module contains functionality for managing the DOM, including adding/removing nodes.

It can be used by a parser to create the DOM graph structure in memory.



  • Special properties of an element, useful for tagging elements with this information.


  • Whether to interrupt further parsing of the current input until the next explicit resumption of the tokenizer, or continue without any interruption.
  • Something which can be inserted into the DOM.
  • A document’s quirks mode, for compatibility with old browsers. See quirks mode on wikipedia for more information.


  • Trace hooks for a garbage-collected DOM.
  • Methods a parser can use to create the DOM. The DOM provider implements this trait.