W3C home > Mailing lists > Public > www-style@w3.org > April 2014

[css-animations] behavior of name attribute is not defined

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Thu, 10 Apr 2014 22:43:05 +1000
Message-ID: <CAMdq69_9Su2JdOL+1tqr77wZHN=zLfNx0K2fpZ2JbnYB4Row_Q@mail.gmail.com>
To: www-style list <www-style@w3.org>
The current spec says:
This attribute is the name of the keyframes, used by the animation-name
property.

However, there is no detailed behavior defined for getter and setter. To be
more exact, there is one question to be answered: should the setter accept
arbitrary unescaped string?

Since according to the spec, animation-name accepts a <custom-ident>, which
has some keywords excluded, I don't think the setter should accept
arbitrary string -- it should only accept valid <custom-ident>. As
<custom-ident> is identifier where identifier is an escaped sequence, the
getter should also return an escaped string instead of the unescaped
version.

Regards,
Xidorn Quan
Received on Thursday, 10 April 2014 12:44:13 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC