[heycam/webidl] identifier needs to allow a leading hyphen (#564)

[CSSOM spec](https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-_dashed_attribute) describes about identifiers with leading dashs, but they conflict with current WebIDL spec, because now we allow `/_?[A-Za-z][0-9A-Z_a-z-]*/` in identifiers.

So I'd like to update the pattern to allow a hypen as a leading character; i.e. `/[_-]?[A-Za-z][0-9A-Z_a-z-]*/` to make both specs consistent with each other.



-- 
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/564

Received on Friday, 8 June 2018 16:38:09 UTC