Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS: Fix parsing of @keyframes rules #8053

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

matthiasblaesing
Copy link
Contributor

Before 23ed111 "CSS: Improve handling of generic-at-rules (for example used by tailwind)" the CSS parser returned the body of generic @-rules as a plain list of tokens. That changed and the @Keyframes rule needs to be special cased. There was already a special case for the @-webkit-keyframes variant, which is identical to the final variant and differs only in the introducing rule name.

Closes: #8052

@matthiasblaesing matthiasblaesing added CSS [ci] enable web job ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) labels Dec 14, 2024
@matthiasblaesing matthiasblaesing added this to the NB25 milestone Dec 14, 2024
Before 23ed111 "CSS: Improve handling
of generic-at-rules (for example used by tailwind)" the CSS parser
returned the body of generic @-rules as a plain list of tokens. That
changed and the @Keyframes rule needs to be special cased. There was
already a special case for the @-webkit-keyframes variant, which is
identical to the final variant and differs only in the introducing
rule name.

The vendored variants @-moz-keyframes and @-o-keyframes are also
supported.

Closes: apache#8052
@matthiasblaesing
Copy link
Contributor Author

I intent to merge this before christmas, so if you want me to wait, speak now please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci:dev-build [ci] produce a dev-build zip artifact (7 days expiration, see link on workflow summary page) CSS [ci] enable web job
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invalid CSS parcing error in @keyframes rule
1 participant