The upgrade() method of the elements in a Node subtree, even before they are connected to the main document.
upgrade()
MDN Reference