Re: [heycam/webidl] Various "terms defined by this specification" are miscapitalized (#172)

Problem is that I *do* want to override the casing, just not for one specific part of the phrase. I dont' want it to uppercase the first word of "conventions of the ECMAScript specification" just because you started a sentence with it in your prose, for example.

Hmm, I could add a "casing hint" attribute that dictates how the letters are to be treated. Like, for "conventions of the ECMAScript specification", the original dfn could provide `casing-hint="........... .. ... AAAAAaaaaa ............." indicating that all the dots are "dont' care", and the upper/lowercase letters are "must be upper/lowercase".  By requiring word length and whitespace to match up correctly (and fatal-erroring if they don't), I can make it less likely that it'll drift if you change the wording.

I can also just always proper-case the word "ECMAScript". That's pretty unambiguous.

-- 
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/172#issuecomment-245987373

Received on Friday, 9 September 2016 17:48:33 UTC