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

The grammar for [`animation-name`](https://drafts.csswg.org/css-animations-1/#propdef-animation-name) is defined as

> `[ none | <keyframes-name> ]#`

So indeed I think the change should happen in `<keyframes-name>`, and thus make both `@keyframes "" {}` and `animation-name: ""` invalid.

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


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

Received on Monday, 15 December 2025 21:00:44 UTC