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

I see. That sounds like something that could potentially pose a web compatibility problem to me. Also, generally speaking, we don't want to change the UA behavior based on whether an event listener is present or not. So that makes me think that we probably don't want to avoid posting a task even when there is no event listener but perhaps we can add a flag to check whether a task to fire `selectionchange` had already been scheduled or not.

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

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

Received on Wednesday, 21 February 2024 08:10:47 UTC