Returns the root DOMNode of this element. If this node doesn't have a parent, will return this instance as root.
DOMNode get root { if (parent == null) { return this; } return parent!.root; }