W3C home > Mailing lists > Public > www-style@w3.org > September 2011

Re: [css3-animations] Case sensitivity of @keyframes

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Mon, 26 Sep 2011 19:00:11 +0200
Message-ID: <4E80AF9B.9030006@disruptive-innovations.com>
To: www-style@w3.org
Le 26/09/11 16:49, Øyvind Stenhaug a écrit :
> http://dev.w3.org/csswg/css3-animations/#keyframes
>
> The grammar for @keyframes includes this line:
>
> keyframes-rule: '@keyframes' IDENT '{' keyframes-blocks '}';
>
> However, at-rule keywords are generally case-insensitive (the only
> exception I can see in 2.1 is @charset). Neither WebKit nor Gecko
> require lowercase for their prefixed versions of @keyframes.
>

Yeah. It should really be a KEYFRAMES_SYM in the grammar
with a

@{K}{E}{Y}{F}{R}{A}{M}{E}{S}   { return KEYFRAMES_SYM;}

in the lexical scanner.

</Daniel>
Received on Monday, 26 September 2011 17:00:48 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT