[selection-api] Should selectionchange be fired when the Range object is directly mutated (#52)

If the range object is directly mutated by the user script, should the selectionchange event be fired? This isn't clear in the documentation.

```javascript
var s = document.getSelection();
var r = document.createRange();
r.selectNode(node1);
s.addRange(r); // selectionchange event should be queued
// -- some time passes --
r.selectNode(node2); // Should another selectionchange event be queued?
```

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/52

Received on Friday, 14 August 2015 15:35:08 UTC