Re: [uievents] Specify MouseEvent.which (#35)

Can I confirm the consensus here?

It sounds like:
Edge recently moved `which` up to `UIEvent`.
Blink recently copied `which` from UIEvent down into Keyboard/Mouse (shadowing the one on UIEvent)
Gecko and WebKit have `which` on `UIEvent`

I presume that the Blink will remove it from Keyboard/Mouse and then all major browsers will have it only on UIEvent.

Which means I should make the following changes in the Legacy appendices:

partial interface UIEvent {
  readonly attribute unsigned long which;
}
partial interface KeyboardEvent {
  readonly attribute unsigned long charCode;
  readonly attribute unsigned long keyCode;
}

Any objections?


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/uievents/issues/35#issuecomment-193106296

Received on Monday, 7 March 2016 05:18:10 UTC