- From: Øyvind Stenhaug <oyvinds@opera.com>
- Date: Tue, 27 Sep 2011 13:21:09 +0200
- To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
- Cc: www-style@w3.org
On Mon, 26 Sep 2011 19:00:11 +0200, Daniel Glazman
<daniel.glazman@disruptive-innovations.com> wrote:
> 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.
Right, though {F} might not be defined anywhere yet
(http://www.w3.org/TR/css3-mediaqueries/#syntax defines {Y} and the
non-normative appendix http://www.w3.org/TR/CSS21/grammar.html has
definitions for the rest).
--
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Tuesday, 27 September 2011 11:21:51 UTC