[css-animations-2][scroll-animations-1] Avoid merging named timeline range keyframes which compute to the same offset #8487
Labels
Closed Accepted by CSSWG Resolution
Commenter Satisfied
Commenter has indicated satisfaction with the resolution / edits.
css-animations-2
scroll-animations-1
Current Work
In css-animations-2 3. Keyframes step 6.4, two keyframes with the same keyframe offset, timing function and composite will be merged into the same keyframe. We may need to call out that keyframes which compute to the same offset but have different named timeline range offsets should not be merged just as we don't merge keyframes with different easing functions or composite values.
Merging such cases would end up dynamically merging different groups of keyframes depending on the specific layout which feels unnecessarily expensive to keep up to date and odd from a developer perspective that the keyframe count would vary dynamically based on layout.
The text was updated successfully, but these errors were encountered: