Re: [csswg-drafts] [scroll-animations-1] Allow Anonymous Scroll Progress Timelines to target self (#8227)

The CSS Working Group just discussed `[scroll-animations-1] Allow Anonymous Scroll Progress Timelines to target self`, and agreed to the following:

* ``RESOLVED: add a `self` keyword``

<details><summary>The full IRC log of that discussion</summary>
&lt;argyle> astearns: alright, let me… get the next issue in<br>
&lt;argyle> astearns: anonymous scroll progress<br>
&lt;argyle> bramus: when you create an anonymous scroll tiemline, you can use a function for that, targets nearest or root. nearest is the nearest ancentor scroll container<br>
&lt;argyle> bramus: this is limiting in a way, you cant target the scroller itself<br>
&lt;bradk> present +<br>
&lt;smfr> q+<br>
&lt;argyle> bramus: you can bypass this by creating a named scroll timeline and then using it as an animation timeline, but not very dev friendly<br>
&lt;argyle> https://www.irccloud.com/pastebin/yXONpCDN/bram<br>
&lt;argyle> bramus: looking at the comments, folks like `self`<br>
&lt;argyle> bramus: that's my recommendation<br>
&lt;astearns> ack smfr<br>
&lt;fantasai> smfr: Is it using the containing block ancestor chain, or the parent chain?<br>
&lt;argyle> smfr: what algo is used to detemrine the nearest container scroller?<br>
&lt;argyle> smfr: answer, containing block. which is appropriate.<br>
&lt;argyle> astearns: any other comments?<br>
&lt;argyle> astearns: current workaround is a haslte, but is it enough tomerit another keyword<br>
&lt;argyle> fantasai: i think it does, people create custom names is not great. makes it hard to reuse the thing you're doing<br>
&lt;argyle> fantasai: better to have this tool. what happens whent he element in question is not in fact a scroll container.<br>
&lt;argyle> fantasai: better to have this tool. what happens whent he element in question is not in fact a scroll container?<br>
&lt;argyle> flackr: we have to answer that question for named scroll timelines right? my [proposal would be that you get a scoll timeline but it has time undefined because the thing being observed is not a scroller. animatoin has no effect.<br>
&lt;argyle> proposed resolution is to add a `self` keyword, which will used what the scroller is and will be well defined<br>
&lt;argyle> astearns: proposed resolution is to add a `self` keyword, which will used what the scroller is and will be well defined<br>
&lt;argyle> astearns: any comments or obejections? we are resolved to add a self keyword.<br>
&lt;argyle> RESOLVED: add a `self` keyword<br>
</details>


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


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

Received on Wednesday, 1 February 2023 17:16:45 UTC