Re: [csswg-drafts] [scroll-animations-1] Entry/Exit Transitions for View Timeline effects (#7044)

@kevers-google I think we're saying different things. In my simplified proposal, currentTime would be the same, and what would change is at which times your animation starts. For example:
ViewTimeline
- At time 0%, the element is out of view touching the bottom of the scroller, this is also the start of the enter phase.
- At time X% (X depends on layout), the element is fully in view at the bottom of the screen, this is the end of the enter phase and the start of the contain phase
- At time (100 - X)% the element is fully in view at the top of the scroller, this is the end of the contain phase and the start of the exit phase.
- At time 100% the element is just out of view above the scroller, this is the end of the exit phase.

Specifying `contain 0%` would be internally translated into `X%`

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7044#issuecomment-1145161848 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 2 June 2022 18:07:05 UTC