[w3c/DOM-Parsing] Step 1 of createContextualFragment is not enough (#17)

https://w3c.github.io/DOM-Parsing/#idl-def-range-createcontextualfragment(domstring)

The intent of the step is to let `element` be an instance of `Element` at the end of step 1, but if the context object's start node is a `Comment` that is a child of a `Document` or `DocumentFragment`, `element` will not be an `Element`.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/DOM-Parsing/issues/17

Received on Monday, 11 July 2016 08:32:58 UTC