DocumentThe root node of the document. class Document extends NodeWithChildren {constructor(children: Node[]);x-mode?: "no-quirks" | "quirks" | "limited-quirks";}§Extends§NodeWithChildren[src]§Constructors§new Document(children: Node[])[src]§Properties§x-mode: "no-quirks" | "quirks" | "limited-quirks"[src]Document mode (parse5 only).