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

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

From: Yuta Kitamura <yutak@google.com>
Date: Fri, 4 Sep 2009 09:01:15 +0900
Message-ID: <7c39144a0909031701o46ddff71qaa33670e09767e28@mail.gmail.com>
To: Simon Fraser <smfr@me.com>
Cc: www-style@w3.org
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 GMT

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