Re: Conventions for composed words in enum

On Thu, Nov 13, 2014 at 2:33 AM, Brian Birtles <bbirtles@mozilla.com> wrote:
> We use some dashes in Web Animations because we want to use the same
> keywords as CSS:
>
>   http://w3c.github.io/web-animations/#the-playbackdirection-enumeration
>
> I wonder if other specs that overlap with CSS will want to do the same.

Yeah, turns out globalComposeOperation uses dashes too. So I guess the
convention is lowercase, with maybe a hyphen or two.


-- 
https://annevankesteren.nl/

Received on Thursday, 13 November 2014 09:20:59 UTC