Re: [csswg-drafts] [scroll-animations-1] JS API for view-timeline-inset (#7748)

@flackr Oh, I didn't mean for the input -- that makes sense to me as-is. But there was a suggestion to add an `inset` attribute to the ViewTimeline object itself. Which does bring up a few interesting questions:

- should the inset be incorporated into the startOffset / endOffset readouts? Or should those represent raw object bounds only?
- should the inset be a separate attribute? If so, as one sequence attribute `inset` or as `startInset` and `endInset`? (Personally, I think the latter is more understandable, even if the input object uses a sequence.)

My original thought was that startOffset and endOffset would be the effective start/end of the timeline, and incorporate any inset calculations.

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


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

Received on Monday, 31 October 2022 18:25:44 UTC