-
Notifications
You must be signed in to change notification settings - Fork 96
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
Polyfill does not play nice with @layer #80
Comments
It’s not related to the @layer foo {
.revealing-image {
view-timeline-name: revealing-image;
view-timeline-axis: block;
animation: linear reveal both;
animation-timeline: revealing-image;
/* Needed for polyfill (wrong syntax): */
animation-time-range: enter 25% 100%;
/* Needed for Chrome Canary: */
animation-range: enter 25% 100%;
animation-delay-start: enter 25%;
animation-delay-end: enter 100%;
}
} |
I think For |
I wrote a CSS parser at https://github.com/flackr/carousel/blob/main/polyfill/polyfill.js which can correctly parse As for test coverage, I'm not sure if there's much (or any) wpt tests of scroll timelines using nested selectors as it's normally expected that features can be tested independently. Maybe this means we need a scroll-timeline polyfill specific test suite for things that don't make sense to be in wpt. |
When using some of the props inside
@layer
…… it throws this:
When not using a
@layer
, it works fine.The text was updated successfully, but these errors were encountered: