[heycam/webidl] Syntatictic way to mark as historical/deprecated (#910)

There are several "historical" things that can't be removed for compatibility but not recommended for modern web platform, for example `KeyboardEvent#charCode`.

So far spec authors write prose or comments to describe those as historical, but it's hard for TSJS-lib-generator to track such things. A syntactic way would be helpful here, for the above example something like:

```webidl
partial dictionary KeyboardEventInit {
  historical unsigned long charCode = 0;
  historical unsigned long keyCode = 0;
};
```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/910

Received on Friday, 21 August 2020 23:07:37 UTC