- From: Aryeh Gregor <notifications@github.com>
- Date: Tue, 25 Apr 2017 11:15:05 -0700
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 25 April 2017 18:15:58 UTC
I wrote a [test case](http://software.hixie.ch/utilities/js/live-dom-viewer/saved/5049): * collapse to detached doctype: Chrome, Firefox, and Edge throw; WebKit doesn't * extend to detached doctype: Firefox and Edge throw; Chrome and WebKit don't * extend to out-of-range index: Firefox, Edge, and WebKit throw; Chrome doesn't * selectAllChildren on detached doctype: Chrome, Firefox, and Edge throw; WebKit doesn't * setBaseAndExtent on detached doctype: Chrome, Firefox, and Edge throw; WebKit doesn't * setBaseAndExtent on out-of-range index: Chrome and Firefox throw; Edge and WebKit don't So in most cases three out of four throw, and in the rest it's 50/50, so I think we should just throw in all cases here. -- 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#issuecomment-297119017
Received on Tuesday, 25 April 2017 18:15:58 UTC