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

Have the parser play nice with nested CSS #133

Open
bramus opened this issue Aug 18, 2023 · 1 comment
Open

Have the parser play nice with nested CSS #133

bramus opened this issue Aug 18, 2023 · 1 comment

Comments

@bramus
Copy link
Collaborator

bramus commented Aug 18, 2023

This does not work in a browser that supports CSS Nesting but no Scroll-Driven Animations:

body {
  div {
    animation: move linear;
    animation-timeline: scroll();
  }
}

When removing the nesting, the polyfill works fine.

Demo: https://codepen.io/bramus/pen/XWoWejQ/64471303f33661702c983e3b4b73a83a

@eloyesp
Copy link

eloyesp commented Feb 21, 2024

Is there any way to prevent this from crashing the parser, to make it ignore that file, for example?

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

No branches or pull requests

2 participants