Skip to content

multiple animation scoping broken #1031

Closed
@danielchabr

Description

@danielchabr

Version

13.3.0

Reproduction link

https://codesandbox.io/s/38qjmqom46

Steps to reproduce

Use animation style with multiple keyframes referenced while adding space after a comma:
h1 {
animation: color 5s infinite, opacity 5s;
}
If the space after comma is removed, everything works.

What is expected?

All animations keyframe references should be scoped

What is actually happening?

Only the first one will be scoped


I have created pull request with fix and added new assertions to tests to test this scenario #1030

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions