- From: Philip Jägenstedt <notifications@github.com>
- Date: Fri, 16 Dec 2016 04:53:06 -0800
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 16 December 2016 12:53:37 UTC
Regarding the constants, we have these in Blink's Event.idl:
```WebIDL
const unsigned short MOUSEDOWN = 1;
const unsigned short MOUSEUP = 2;
const unsigned short MOUSEOVER = 4;
const unsigned short MOUSEOUT = 8;
const unsigned short MOUSEMOVE = 16;
const unsigned short MOUSEDRAG = 32;
const unsigned short CLICK = 64;
const unsigned short DBLCLICK = 128;
const unsigned short KEYDOWN = 256;
const unsigned short KEYUP = 512;
const unsigned short KEYPRESS = 1024;
const unsigned short DRAGDROP = 2048;
const unsigned short FOCUS = 4096;
const unsigned short BLUR = 8192;
const unsigned short SELECT = 16384;
const unsigned short CHANGE = 32768;
```
But they make no sense, they're not used for anything. Would be happy to see them in an historical.html test to provide some small incentive for them to be removed.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/334#issuecomment-267588129
Received on Friday, 16 December 2016 12:53:37 UTC