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

No, @csnardi is right.  The CSSOM spec for something like `-webkit-transform` says we should have both a `webkitTransform` property and a `-webkit-transform` property.  I had missed that we disallow `_-...`, so we do have a problem here.

@heycam do you recall why the grammar disallows leading '-' in identifiers?  Was that basically to match other IDLs, C, etc, where it would introduce ambiguities with negation?  That doesn't seem like a problem webidl should have, since we don't really do negation of named things syntax-wise...

-- 
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#issuecomment-395867858

Received on Friday, 8 June 2018 19:41:08 UTC