- From: Ryosuke Niwa <rniwa@apple.com>
- Date: Sat, 09 Jan 2016 19:14:43 -0800
- To: public-webapps WG <public-webapps@w3.org>
- Cc: Ehsan Akhgari <ehsan@mozilla.com>, Olli Pettay <olli@pettay.fi>, Gary Kačmarčík <garykac@google.com>
Hi, It looks like browsers don't agree on where `onselectstart` and `onselectionchange` IDL attributes should be defined: https://github.com/w3c/selection-api/issues/54 https://github.com/w3c/selection-api/issues/60 In particular, Blink/WebKit/Trident all defines onselectstart/onselectionchange on Document, not GlobalEventHandlers. Gecko defines them on both. Both Blink and WebKit supports onselectionchange content attribute on body element (as far as I could recall, I implemented onselectionchange that way to match Trident's behavior at the time in http://trac.webkit.org/changeset/79208). I think the cleanest approach is to add it to GlobalEventHandlers to be consistent with other events. What do you guys think? - R. Niwa
Received on Sunday, 10 January 2016 03:15:14 UTC