- From: Masayuki Nakano <notifications@github.com>
- Date: Wed, 03 Apr 2024 19:05:10 -0700
- To: w3c/selection-api <selection-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 4 April 2024 02:05:14 UTC
Firefox may have multiple `Selection` objects per document. One is for the `Document` which is exposed with `getSelection()`. The others are independent objects for each `<input>` and `<textarea>` to make the selection range(s) restored easy at re-focus. And Firefox does not move the document selection at moving focus to a form control with a mouse click, but otherwise, e.g., tab navigation or `Element.focus()`, collapse `Selection` before the form control. -- Reply to this email directly or view it on GitHub: https://github.com/w3c/selection-api/issues/166#issuecomment-2036001614 You are receiving this because you are subscribed to this thread. Message ID: <w3c/selection-api/issues/166/2036001614@github.com>
Received on Thursday, 4 April 2024 02:05:14 UTC