[csswg-drafts] Pull Request: [css-animation-1] Handle <string> values in keyframes-name as identitiers

javifernandez has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

== [css-animation-1] Handle <string> values in keyframes-name as identitiers ==
Per resolution:

https://github.com/w3c/csswg-drafts/issues/2435#issuecomment-428646888 

> 1. Accept <string> or <custom-ident> as we currently do.
> 2. If <string> is one of the CSS-wide keywords or "default" then it is invalid (at parse / variable-resolution time) as per the rules for custom-idents: https://www.w3.org/TR/css-values-3/#custom-idents
> 3. When serializing, if the value doesn't have [whitespace](https://www.w3.org/TR/css-syntax-3/#whitespace)(??) serialize without quotes (i.e. as <custom-ident>), otherwise serialize as <string>.

See https://github.com/w3c/csswg-drafts/pull/12985


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 20 October 2025 21:09:06 UTC