Re: [css3-animations] Value type of animation names

I see. I'm waiting for the examples to be fixed.

Thanks,
Yuta

2009/9/3 Simon Fraser <smfr@me.com>

> On Sep 1, 2009, at 4:30 AM, Yuta Kitamura wrote:
>
> I have found a small error in CSS3 animations spec.
>
> There are several examples in which an animation name is surrounded by
> single quotes, such as:
>
> @keyframes 'wobble' { ... }
>
>
> or,
>
> div {
>     animation-name: 'diagonal-slide';
>     ...
> }
>
>
> However, the definition of animation name does not allow such names, since
> IDENT does not allow a quoted string:
>
> keyframes-rule: '@keyframes' IDENT '{' keyframes-blocks '}';
> animation-name: none | IDENT [, none | IDENT ]*
>
>
> I suggest replacing all the occurrences of "IDENT" with "STRING",  which
> only allows a quoted string (by double quotes or single quotes), so that the
> examples conform to the syntax.
>
>
> Actually, the examples are wrong. The animation name in the keyframes, and
> in the property value should be an IDENT.
>
> Simon
>
>

Received on Friday, 4 September 2009 00:01:58 UTC