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

Invalid scoping for :root selector #336

Closed
yhatt opened this issue May 21, 2022 · 0 comments · Fixed by #337 or marp-team/marp-core#300
Closed

Invalid scoping for :root selector #336

yhatt opened this issue May 21, 2022 · 0 comments · Fixed by #337 or marp-team/marp-core#300
Labels
bug Something isn't working

Comments

@yhatt
Copy link
Member

yhatt commented May 21, 2022

Marpit v2.3.0 has invalid scoping for updated :root selector.

/* @theme theme */
:root {
  background: yellow
}
/* Bad */
div.marpit > section :where(section):not([\20 root]) {
  background: yellow;
}

/* Good */
div.marpit > :where(section):not([\20 root]) {
  background: yellow;
}
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
1 participant