Re: [csswg-drafts] [scroll-animations] Broader scope of scroll timelines (#7759)

The CSS Working Group just discussed `[scroll-animations] Broader scope of scroll timelines `, and agreed to the following:

* `RESOLVED: remove scroll/view-timeline-attachment, add timeline-scope, which accepts a list of timeline names and raises their scope`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> flackr: We previously resolved we wanted the scroll-anim spec to define a timeline that is provided by a scroller that wasn't discovered yet<br>
&lt;TabAtkins> flackr: This issue is about the specific syntax<br>
&lt;TabAtkins> flackr: Had discussions with a bunch of people and we have a proposed consensus<br>
&lt;TabAtkins> flackr: New property, timeline-root<br>
&lt;TabAtkins> flackr: Not directly related to the view-timeline or scroll-timeline property<br>
&lt;TabAtkins> flackr: timeline-root defines a new "deferred timeline" object, which will find a nested timeline to attach to.<br>
&lt;TabAtkins> flackr: Sorry, timeline-scope as the name.<br>
&lt;miriam> ack fantasai<br>
&lt;TabAtkins> fantasai: The way I'd describe is you create a timeline by naming an axis or whatever.<br>
&lt;TabAtkins> fantasai: timeline-scope lets you increase the scope; you put it on an ancestor and it "hoists" the timeline higher to make it visible to more elements<br>
&lt;TabAtkins> flackr: Conceptually this is true, but technically it does create its own timeline, for animation discovery purposes.<br>
&lt;TabAtkins> flackr: But it's fine to think of it that way, and the timeline you observe from JS will be the real timeline generated by the scroller or whatever.<br>
&lt;TabAtkins> miriam: What's the value of the property?<br>
&lt;TabAtkins> flackr: A dashed-ident<br>
&lt;flackr> probably a list of dashed-idents<br>
&lt;fantasai> TabAtkins: It will search for a timeline with the same name (of any kind of timeline) among its descendants<br>
&lt;fantasai> TabAtkins: if it finds one (not zero, not many) it attaches that timeline to the name for its entire scope<br>
&lt;TabAtkins> proposed resolution: remove scroll/view-timeline-attachment, add timeline-scope, which accepts a list of timeline names and raises their scope<br>
&lt;TabAtkins> miriam: Objections?<br>
&lt;bramus> +1<br>
&lt;fantasai> +1<br>
&lt;TabAtkins> RESOLVED: remove scroll/view-timeline-attachment, add timeline-scope, which accepts a list of timeline names and raises their scope<br>
&lt;ydaniv> +1<br>
</details>


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


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

Received on Wednesday, 17 May 2023 16:23:18 UTC