Re: [w3c/selection-api] Should onselectstart and onselectionchange have content attributes or just IDL attributes? (Issue #351)

masayuki-nakano left a comment (w3c/selection-api#351)

I think Chrome should have it. `on*` global attribute is the only way to check whether the browser supports the event. Although nobody needs to check that for `selectionchange`, but the consistency must be good.

And the partial interface is [GlobalEventHandlers](https://w3c.github.io/selection-api/#dom-globaleventhandlers) which is [explicitly included by HTMLElement](https://html.spec.whatwg.org/multipage/dom.html#elements-in-the-dom:globaleventhandlers).

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

Message ID: <w3c/selection-api/issues/351/3268457712@github.com>

Received on Tuesday, 9 September 2025 00:39:22 UTC