[w3c/selection-api] Throw correct exceptions from selectAllChildren on detached doctypes (#86)

According to the previous spec, trying to select a doctype that is not
in the current document would not throw.  But Chrome, Firefox, and Edge
all do throw.  (WebKit doesn't seem to throw for doctypes at all.)  The
wpt test also tests that browsers do throw in this case.
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/selection-api/pull/86

-- Commit Summary --

  * Throw correct exceptions from selectAllChildren on detached doctypes

-- File Changes --

    M index.html (16)

-- Patch Links --

https://github.com/w3c/selection-api/pull/86.patch
https://github.com/w3c/selection-api/pull/86.diff

-- 
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/pull/86

Received on Tuesday, 25 April 2017 14:16:52 UTC