Re: [w3c/selection-api] Clarify the additions of this spec to GlobalEventHandlers (#54)

I tried http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4379 and it looks like the selectstart event bubbles to window everywhere, so putting at least onselectstart on GlobalEventHandlers would make sense. (Note that it's HTMLElement and SVGElement that implement GlobalEventHandlers, not Element, but that's probably a safe change given Edge's behavior.)

As for onselectionchange, it looks like the event target is always the document, and it doesn't bubble? The odd thing is that AFAICT it's the only onfoo attribute on body that forwards to the document instead of the window. Blink supports on the content attribute here, not the IDL attribute like WebKit. I could add a use counter for that, maybe try spec'ing it only on Document and revisit if it looks like usage isn't zero?

-- 
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/54#issuecomment-239574361

Received on Friday, 12 August 2016 22:25:23 UTC