Re: [w3c/selection-api] Skip posting a task for `selectionchange` event in some cases (Issue #170)

Hm... this issue interacts with https://github.com/w3c/selection-api/issues/53. The spec currently specifies Firefox's behavior of firing `selectionchange` event at `input` and `textarea` elements. However, this is problematic with respect to the new boolean state we're considering to introduce in this issue. It would be odd for the boolean state to be document-wide we kept the current model since `selectionchange` maybe scheduled to be fired on different `input` elements. An obvious alternative is to have a boolean state per each `input` / `textarea` element. Either way, we need to figure out which behavior is most web compatible & makes most sense.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/selection-api/issues/170#issuecomment-1998832303
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/selection-api/issues/170/1998832303@github.com>

Received on Friday, 15 March 2024 02:29:06 UTC