We do this for input values in hopes of avoiding mutations unnecessarily, do you think we should do this here, too?

  if (oldContent !== newContent && rootNode.value !== newContent) {