Re: [csswg-drafts] [css-animations] Clarify whether `<keyframes-name>` supports the empty string (#7762)

I do not see any resolution or related comment in this issue for this change in #13151:

  > ```diff
  > + When serialized, the value is serialized as an <<ident>>
  > + unless it's a disallowed keyword,
  > + in which case it's serialized as a <<string>>.
  > ```

Browsers seems to escape non-identifiers, e.g. `"1"` serializes as `\31`, and keep identifiers in the string, e.g. `"initial"`.

Unfortunately, WPT has not test for the former case (at least for a [valid animation-name](https://github.com/web-platform-tests/wpt/blob/master/css/css-animations/parsing/animation-name-valid.html)).

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


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

Received on Saturday, 24 January 2026 04:03:12 UTC