This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Regarding the algorithm for cloning the contents of a Range at https://dom.spec.whatwg.org/#concept-range-clone Step 15 reads: <snip> 15. For each contained child in contained children: 1. Let clone be a clone of contained child. 2. Append clone to fragment. </snip> Step 15 should read: 15. For each contained child in contained children: 1. Let clone be a DEEP clone of contained child. 2. Append clone to fragment. All of the other cloning operations in the Range specification use a shallow clone (e.g. node.cloneNode(false)). The above case only requires a deep, recursive clone of the contained child (e.g. node.cloneNode(true)). An experienced implementer can figure it out, but I think it should be clarified in the specification.
https://github.com/whatwg/dom/commit/5fc973c1d2fda9c92e43dba9c946eba389f8546c