- From: triple-underscore <notifications@github.com>
- Date: Wed, 11 May 2016 05:27:40 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc:
Received on Wednesday, 11 May 2016 12:28:10 UTC
https://dom.spec.whatwg.org/#dom-range-surroundcontents It seems strange that Range.surroundContents() doesn't throw an error at step 2, if newParent is a CharacterData node. In that case, the algorithm will insert newParent into the Range obejct (step 5: "Insert newParent into context object."), and then throws an error at the next step ( "Append fragment to newParent." ) Is it intentional? --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/250
Received on Wednesday, 11 May 2016 12:28:10 UTC