[w3c/selection-api] Throw exception for removeRange on range that's not in selection (#87)

This matches Firefox, which was historically the only engine to ever
have a working implementation of removeRange.  WebKit still has none,
Edge seems to throw for everything, and Chrome just added theirs in
February.  If there was only ever one implementation of the feature, the
spec should follow that implementation.

(Firefox doesn't actually throw a DOMException here, it throws a
nonstandard exception.  That's a side point, though.)
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Throw exception for removeRange on range that's not in selection

-- File Changes --

    M index.html (3)

-- Patch Links --

https://github.com/w3c/selection-api/pull/87.patch
https://github.com/w3c/selection-api/pull/87.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/87

Received on Tuesday, 25 April 2017 18:35:07 UTC