Re: [w3c/selection-api] Throw InvalidNodeTypeError on DocumentType nodes (#118)

Just looked at [the WPT test](https://github.com/web-platform-tests/wpt/blob/master/selection/selectAllChildren.html) and unfortunately does the `DOCUMENT_TYPE_NODE` check before doing the document.contains check, so it expects behavior different from what the specification currently requires.

-- 
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/selection-api/issues/118#issuecomment-695849530

Received on Sunday, 20 September 2020 23:21:11 UTC