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

Incorrect scoping in keyframes at-rule #97

Closed
yhatt opened this issue Nov 26, 2018 · 0 comments
Closed

Incorrect scoping in keyframes at-rule #97

yhatt opened this issue Nov 26, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@yhatt
Copy link
Member

yhatt commented Nov 26, 2018

@keyframes at-rule in theme CSS is not working by the incorrect element scoping.

/* @theme example */

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

Marpit v0.3.1 will convert into:

/* @theme example */

@keyframes spin {
  div.marpit > section from { transform: rotate(0deg); }
  div.marpit > section to { transform: rotate(360deg); }
}

Marpit is misrecognized from, to, and xxx% as the element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant