The element that holds a rendered node's children.
Tear down node-view instances in a subtree about to leave the DOM.
Sync the root element with the document node: its children, and the attributes the document's settings are written as, which the stylesheet reads off the editing surface just as it does off a saved page's wrapper.
Install a decoration source and invalidate rendered blocks.
Model → DOM renderer. Structural sharing in the immutable document makes diffing cheap: a child that is reference-equal to what an element already shows is skipped; a same-type block is patched in place; anything else is rebuilt. The mapping from DOM elements back to model nodes lives in a WeakMap consumed by position mapping and selection sync.