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

> 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!

I _think_ you understand me correctly :) The request is to add a new named timeline range that 'refers to the scrollport size' and thus is independent of the subject's size. 

The motivation is to make it easier to specify an animation range with the mentioned properties. If we add a new named timeline range `<range>` that is independent of the subject size, an animation range such as `animation-range: <range> 25% 75%` will also be independent of the subjects size.

![animation-range](https://github.com/w3c/csswg-drafts/assets/175195/305fbd81-8210-4432-8ea2-44a7900ce2f1)

_Note that it's currently easy to set up animation ranges that are based on the full size of the scrollport by using entry- and exit-crossing: `animation-range: entry-crossing 50% exit-crossing 50%`. The goal is to make it easy to map to a part of that range such as `animation-range: <range> 25% 75%`._



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


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

Received on Saturday, 25 November 2023 07:41:52 UTC