File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1004,9 +1004,16 @@ beginning with |node|. It consistes of these steps:
10041004 1. [=Assert=] : |node| does not [=implement=] {{Document}} .
10051005 1. Call [=sanitize core=] on |child| with |configuration| and
10061006 |handleJavascriptNavigationUrls|.
1007- 1. Let |fragment| be the result of [=convert nodes into a node=]
1008- given |child|'s [=tree/children=] and |node|' s [=node document=] .
1009- 1. [=/Replace=] |child| with |fragment| within |child|'s [=tree/parent=] .
1007+ 1. Let |fragment| be a new {{DocumentFragment}} whose [=node document=]
1008+ is |node|'s [=node document=] .
1009+ 1. [=list/iterate|For each=] |innerChild| of |child|'s [=tree/children=] ,
1010+ [=/append=] |innerChild| to |fragment|.
1011+ 1. [=/Replace=] |child| with |fragment| within |node|.
1012+
1013+ NOTE: [=/Replace=] shouldn't throw here, since the structural
1014+ preconditions for successful execution of the algorithm should
1015+ be met.
1016+
10101017 1. [=Continue=] .
10111018 1. If |configuration|["{{SanitizerConfig/elements}}"] [=map/exists=] :
10121019 1. If |configuration|["{{SanitizerConfig/elements}}"] does not
You can’t perform that action at this time.
0 commit comments