Skip to content

[scroll-animations-1] Add view() as a value for animation-timeline as a corresponding of scroll() #7587

@ydaniv

Description

@ydaniv

Scroll-animations define the scroll() for defining an anonymous ScrollTimeline as a timeline for an animation.
The spec currently doesn't have a corresponding value for ViewTimeline.

Should we add view()?
I believe this is useful just as much.

If so, it should:

  • take axis and inset as arguments
  • refer to same element as the subject of that timeline

I guess these are reasonable for an anonymous ViewTimline, otherwise use a name.

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