`animation-timeline: view()` added to `animation` shorthand
Author: Th3S4mur41Created Jun 23, 2026Updated Oct 1, 2026
Environment
- Astro 7.0.0
- Vite 8.0.16
- Lightning CSS 1.32.0
Description
When combining animation shorthand with animation-timeline: view(), Lightning CSS is merging both into animation shorthand which is breaking functionality.
animation: parallax 1ms linear both;
animation-timeline: view();
animation-range: exit 0% exit 100%;Turns into:
animation: 1ms linear both parallax view();
animation-range: exit 0;This behavior is reproducible in Playground with Target set to Chrome 115 and higher.
Although even Chrome 151 does not seem to support the shorthand
Related
Source: parcel-bundler/lightningcss