Open caub opened 8 years ago
selectionchange
event should fire whenever selection DID change. This is irrespective of whether the user had tried to select content or whether user-select: none
happened to be used.
I interpret user-select: none
as "can't select me and don't touch to the current selection". Firefox follows that idea, but not others
I think this probably needs to be implementation dependent because in general, different browsers and platforms have different behaviors for when selection can be changed.
Related with https://bugs.chromium.org/p/chromium/issues/detail?id=621543 and https://github.com/w3c/csswg-drafts/issues/319, the standard doesn't seem to be clear for selectionchange and for actual selection change on interactions on elements with
user-events: none