w3c / uievents

UI Events
https://w3c.github.io/uievents/
Other
145 stars 51 forks source link

IDL for legacy dictionary members are not parsed as IDL #271

Closed saschanaz closed 3 years ago

saschanaz commented 3 years ago

The IDL block that includes charCode/keyCode is incorrectly marked as non-IDL while they are.

https://github.com/w3c/uievents/blob/69f4f813b5b9b6f128e8f4fb4c05056977d39f68/sections/legacy-key-attributes.txt#L170-L176

This is different from the corresponding partial interface which is marked correctly as IDL:

https://github.com/w3c/uievents/blob/69f4f813b5b9b6f128e8f4fb4c05056977d39f68/sections/legacy-key-attributes.txt#L119-L125

It should be marked as IDL so that tools like TSJS-lib-generator can correctly parse and include it.