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 comment before @keyframes triggers Oh-Noes #732

Open
birdofblue opened this issue Apr 24, 2020 · 1 comment
Open

CSS comment before @keyframes triggers Oh-Noes #732

birdofblue opened this issue Apr 24, 2020 · 1 comment

Comments

@birdofblue
Copy link

In the HTML environment, whenever a user properly comments their code before a CSS @keyframes rule (or any other at-rule as far as I know) Oh-Noes insists that
You're missing either a } or another property:value; pair following @keyframes foo

See this program for an example.

@pamelafox
Copy link
Collaborator

Thank you for the report and the replication example!
The error comes from slowparse, and it looks like this was actually fixed in the slowparse library at some point:
mozilla/slowparse#62
Hm, but it looks like I then upgraded our library:
#204

So I'm not sure why we're still seeing a bug. I will have to investigate further in the future when I have the time to dig deeper.

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

No branches or pull requests

2 participants