Let convertedNode be the result of convert nodes into a node given - nodes and option's node document.
Let documentFragment be the result of running convert nodes into a + node given nodes and option's node document.
Ensure pre-insertion validity of convertedNode into - SelectedContent before null.
Ensure pre-insertion validity of documentFragment into + selectedContent before null.
Replace all with convertedNode - within selectedcontent.
Replace all with + documentFragment within selectedcontent.
To clear a selectedcontent given a Remove all children of selectedcontent, in tree
- orderselectedcontent
element
@@ -56165,7 +56165,7 @@ interface HTMLSelectedContentElement : HTMLElement
The selectedcontent
HTML element insertion steps, given