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

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

From: Simon Fraser <smfr@me.com>
Date: Wed, 02 Sep 2009 09:11:55 -0700
Cc: www-style@w3.org
Message-id: <E8DFAD8D-FECB-45AD-B0B4-39166A6C9D43@me.com>
To: Yuta Kitamura <yutak@google.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 Wednesday, 2 September 2009 16:12:59 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:39 UTC