Re: [csswg-drafts] [scroll-animations-1] Handling changed size/position in current frame (#8694)

The CSS Working Group just discussed `https://github.com/w3c/csswg-drafts/issues/8694`, and agreed to the following:

* `RESOLVED: We will accept this PR and close the issue`

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: https://github.com/w3c/csswg-drafts/issues/8694<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/8694<br>
&lt;dael> flackr: With view timelines we have named ranges that are related to the position and size of their subject within their scroller<br>
&lt;dael> flackr: This means that if the position or size changes the named range can change which changes animation progress and visual output<br>
&lt;dael> flackr: Per spec no update if the size or postion changes. Proposing we detect when this happens. It's similar to when we detect new timelines. It would be if it moves or changes size and we trigger a new layout cycle<br>
&lt;dael> flackr: I have a spec PR to make the change. main point is condition I noted and that it does it after resize observer and resize observer might change which we would want to respond to<br>
&lt;dael> flackr: Prop is Accept the PR that adds a change in position or size of subject as a condition to do a layout cycle<br>
&lt;dael> astearns: you have people commenting on issue and PR but not calling out changes<br>
&lt;dael> flackr: Discussed with iank_ who I think is on call<br>
&lt;dael> astearns: Any concerns or questions?<br>
&lt;dael> astearns: Obj to accept the PR?<br>
&lt;dael> vmpstr: What are implications to updating timeline. Can sizes change? Asking because doing this after resize observer means if updating can change size the size observation has to be on next frame<br>
&lt;dael> flackr: Size can change<br>
&lt;dael> flackr: It's generally frowned upon to animate size or layout and expect frame perfect<br>
&lt;dael> flackr: Trade off if we run before resize observer where we wouldn't guar. the timeline is correct or after<br>
&lt;dael> astearns: Is that enough of an answer?<br>
&lt;dael> vmpstr: I think that's fine. Just have an issue later on the agenda that's similar for non-timelines<br>
&lt;dael> astearns: Anything else on this issue?<br>
&lt;dael> astearns: Prop: We will accept this PR and close the issue<br>
&lt;dael> astearns: Obj?<br>
&lt;dael> RESOLVED: We will accept this PR and close the issue<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8694#issuecomment-1533872034 using your GitHub account


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

Received on Wednesday, 3 May 2023 23:18:05 UTC