Re: [csswg-drafts] [scroll-animations-1] Add a new named timeline range that is independent of subject dimensions. (#9617)

I _think_ what @johannesodland is referring to is to make it easier to specify animation ranges that are based on the size of the scrollport.

So here are four examples where the animation range corresponds to the height of the scrollport:

![Four different animation ranges of the size of the scrollport](https://github.com/w3c/csswg-drafts/assets/958943/b27cf292-7138-4830-9440-b37e9db8a868)

That includes that any offset is applied to both the end and start of the animation range and percentual offsets also referring to the scrollport's size. This effectively moves the animation range bug keeps its size the same. And _that_ makes it independent of the subject's size, in consequence.

So, IIUC, the request is to have a new named timeline range that refers to the scrollport size.
@johannesodland Please correct me if I misunderstood your proposal!

Sebastian

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


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

Received on Friday, 24 November 2023 21:04:05 UTC