Skip to content

Conversation

@javifernandez
Copy link
Contributor

As discussed in the issue #7762 an empty <string> should not be allowed to be used in @keyframes-name style rule, or in the animation-name CSS property to refer a specific rule.

Fixes #7762

@SebastianZ SebastianZ changed the title [css-animations-1] The @keyframs-name style rule should not allow empty <string>. [css-animations-1] Make @keyframes name not allow empty <string> Nov 25, 2025
@SebastianZ SebastianZ added the css-animations-1 Current Work label Nov 25, 2025
@SebastianZ SebastianZ changed the title [css-animations-1] Make @keyframes name not allow empty <string> [css-animations-1] Make @keyframes name disallow empty <string> Nov 25, 2025
@javifernandez javifernandez requested a review from nt1m November 28, 2025 08:16
@dholbert
Copy link
Member

On behalf of Firefox: seems fine to treat empty string as invalid here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

css-animations-1 Current Work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[css-animations] Clarify whether <keyframes-name> supports the empty string

3 participants