Skip to content

[css-animations-2][scroll-animations-1] Avoid merging named timeline range keyframes which compute to the same offset #8487

@flackr

Description

@flackr

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions