Re: [csswg-drafts] [scroll-animations-1] Range for entire scroll range (#9367)

The CSS Working Group just discussed `[scroll-animations-1] Range for entire scroll range`, and agreed to the following:

* `RESOLVED: add 'scroll' named range to view timelines, represents entire scroll range, bikeshed keyword in issue`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> flackr: We decided that the default range for 'view' timelines is the 'cover' range, because this is a sensible default animation<br>
&lt;fantasai> ... for animating as some element goes through the viewport<br>
&lt;fantasai> ... but no way to express the total scroll range<br>
&lt;fantasai> ... so sometimes might want start of scroll to some position in view range<br>
&lt;fantasai> ... or view range position to end of scroll<br>
&lt;fantasai> ... simplest think we could do is add a named range that refers to the full scroll range, so we can refer to it in the animation-range<br>
&lt;fantasai> ... suggestion is "full"<br>
&lt;fantasai> flackr: also raised issue specifying pixel values as offsets from cover range<br>
&lt;fantasai> ... but might be awkward<br>
&lt;bramus> q+<br>
&lt;fantasai> ... also would be a breaking change<br>
&lt;fantasai> ... to change interpretation of values without range name<br>
&lt;fantasai> ... because default animation range for view timelines is 'cover'<br>
&lt;Rossen_> ack bramus<br>
&lt;fantasai> bramus: if you specify 3 values, if you don't specify a range name it defaults to 'cover' for view timeline and 'full' for scroll timelines?<br>
&lt;fantasai> flackr: I thought we already resolved 3-value syntax<br>
&lt;TabAtkins> fantasai: I'm trying to think thru this<br>
&lt;Rossen_> ack fantasai<br>
&lt;TabAtkins> fantasai: Not sure "full" is actually better than "scroll"<br>
&lt;TabAtkins> fantasai: view timelines are supposed to be about when the element is in view, there's different interps of what that might mean, but that's what it's about<br>
&lt;TabAtkins> fantasai: saying "full" timeline is the entire scroll range might be a little odd<br>
&lt;TabAtkins> fantasai: if you wanted the full scroll range you should use the scroll timeline rather than view timelien<br>
&lt;TabAtkins> fantasai: I can see use-cases for wanting one end or another tied to the end of the scroll<br>
&lt;TabAtkins> fantasai: But we should make it clearer you're extending outside the conceptual range of the view timeline<br>
&lt;TabAtkins> fantasai: And it definitely shouldn't be the default<br>
&lt;bramus> q+<br>
&lt;fantasai> flackr: originally why I proposed 'scroll', full range of view timeline should be considered to be 'cover'<br>
&lt;schenney> q+<br>
&lt;Rossen_> ack bramus<br>
&lt;fantasai> bramus: if we use 'scroll', then it wouldn't make sense for other timelines e.g. media playback timelines<br>
&lt;fantasai> flackr: for media timelines, default would be the full playback range<br>
&lt;fantasai> bramus: for scroll timelines, default is the full scroll timeline<br>
&lt;Rossen_> ack schenney<br>
&lt;fantasai> schenney: "full" is referring to "full page", might help to clarify<br>
&lt;fantasai> flackr: not quite, talking about entire scroll range<br>
&lt;fantasai> schenney: complete scrollable area?<br>
&lt;fantasai> flackr: yes<br>
&lt;fantasai> Rossen_: That excludes the scroll-margin areas?<br>
&lt;fantasai> flackr: I don't think so, it represents offset zero and max offset<br>
&lt;fantasai> Rossen_: if I have something in the negative space?<br>
&lt;fantasai> flackr: yes, that's excluded<br>
&lt;fantasai> Rossen_: and something beyond end of range?<br>
&lt;fantasai> flackr: right<br>
&lt;fantasai> fantasai: do we want to accept and bikeshed later?<br>
&lt;schenney> content?<br>
&lt;fantasai> Rossen_: let's pick one of the two names for now, and then go with it<br>
&lt;fantasai> Rossen_: Let's stick to 'scroll' because then at least one person doesn't like it, and we can bikeshed to find the right name<br>
&lt;fantasai> Rossen_: Proposed to add 'scroll' named range to view timelines, represents entire scroll range<br>
&lt;fantasai> RESOLVED: add 'scroll' named range to view timelines, represents entire scroll range, bikeshed keyword in 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/9367#issuecomment-1854280461 using your GitHub account


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

Received on Wednesday, 13 December 2023 16:35:39 UTC