From a776615b78974ffcad0e04aaf355e74341c3ed11 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Sat, 14 Dec 2024 07:20:53 +0100 Subject: [PATCH] keep the same order of operations; add return statement --- dom.bs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dom.bs b/dom.bs index 7cd1b197..5cfdc6ad 100644 --- a/dom.bs +++ b/dom.bs @@ -4572,6 +4572,10 @@ boolean subtree: other applicable specifications and pass node, copy, and subtree as parameters. +
  • If subtree is true, then for each child of node's + children, in tree order: clone a node and append given + child, copy, document, and subtree. +

  • If node is an element, shadow host, and its shadow root's clonable is true: @@ -4594,9 +4598,7 @@ boolean subtree: subtree. -

  • If subtree is true, then for each child of node's - children, in tree order: clone a node and append given - child, copy, document, and subtree. +

  • Return copy.