Skip to content

[scroll-animations-1] Range for entire scroll range #9367

Open
@flackr

Description

@flackr

It has come up a few times (#8942 (comment), #8672 (comment), #8578 (comment)) that we don't have any way to specify the entire scroll range for view timelines.

We decided in other issues that because we want the default range for a view timeline to be the cover range we should have cover by the normal range. If we want to preserve this but still support the use cases for the entire scroll range we should add a new range name for view timelines to cover this. E.g. the scroll range could represent the full range. Then authors could do something like animation-range: entry 0% scroll 1000px to make an animation from when an element enters to when you're scrolled 1000px down.

My preference would be to have animation-range without a range name use this range, e.g. just animation-range: entry 0% 1000px or animation-range: 200px 1000px but I think @fantasai had concerns with having the default animation range be cover except if you specify an animation-range without a named range.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Friday afternoon

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions