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

[css3-animations] Value type of animation names

From: Yuta Kitamura <yutak@google.com>
Date: Tue, 1 Sep 2009 20:30:35 +0900
Message-ID: <7c39144a0909010430p6c8415c5rbdd3fde107eea9f9@mail.gmail.com>
To: www-style@w3.org
Hi all,
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' { ... }


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.

Received on Wednesday, 2 September 2009 14:11:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 12:34:29 UTC