- From: Masayuki Nakano <notifications@github.com>
- Date: Thu, 20 Aug 2020 19:09:09 -0700
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 21 August 2020 02:09:22 UTC
> I discussed that with @saschanaz and reportedly `document.activeElement` can be used. In most cases, it must be correct. However, looks like the patches for Gecko, it's fired on any `<input>` and `<textarea>` elements if their selection is modified by JS or setting their value. Do other browsers fire the events in such cases too? Anyway, it seems that the events should be fired only when the editable content is focused or should have something new attribute like `originalTarget`. -- 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/issues/53#issuecomment-677997724
Received on Friday, 21 August 2020 02:09:22 UTC