Re: [csswg-drafts] [css-animations] Serialize all keyframe names as strings (#2435)

  > My understanding is that the resolution the [resolution](https://github.com/w3c/csswg-drafts/issues/2435#issuecomment-428646888) means that the value of the 'animation-name' should be serialized as 'identifier' when possible, and as `<string>` otherwise

This resolution is *"serialize **all keyframes** as identifiers"*, not just in `animation-name`. And the requirement to serialize *"as 'identifier' when possible, and as `<string>` otherwise"* is currently specified for `<keyframes-name>`, which is not only used in `animation-name`, but also in other places. 

In these other places, browsers do not always serialize as 'identifier' when possible. So authors could complain to these browsers that their serialization is non-conforming, if the spec does not define how `<keyframes-name>` must serialize in these other places.

I am sorry if I misunderstood this resolution.

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2435#issuecomment-4002216888 using your GitHub account


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

Received on Thursday, 5 March 2026 05:03:33 UTC