- From: Aryeh Gregor <notifications@github.com>
- Date: Tue, 25 Apr 2017 07:16:13 -0700
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 25 April 2017 14:16:52 UTC
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