Let copy be the result of cloning a single node given node and document. -
If parent is non-null, then append copy to - parent. -
Run any cloning steps defined for node in other applicable specifications and pass node, copy, and subtree as parameters. +
If parent is non-null, then append copy to + parent. +
If subtree is true, then for each child of node's
children, in tree order: clone a node given child with
document set to document,
@@ -4571,8 +4571,9 @@ and an optional document docume
parent set to copy.
If node is an element, shadow host, and its
- shadow root's clonable is true:
+ If node is an element, node is a
+ shadow host, and node's shadow root's
+ clonable is true:
Assert: copy is not a shadow host.