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

> So what you're asking, IIUC, is to reduce the subject from a line to a point, and then have the range match the progress of that point inside the scrollport. And that `-subject-margin` property you're asking is a way to customize where to place that point on that line.

Right :)  

Adding a `-subject-margin` property would provide a way to reduce the subject to a point, so that the resulting timeline only "depends" on the size of the scrollport.

The benefit of adding a `-subject-margin` property is that it makes it possible to control where on the subject that point is. It might be better than the initial suggestion with a new named timeline range, where that point always would be in the center of the subject.

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


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

Received on Wednesday, 19 June 2024 16:54:25 UTC