- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 20 Jul 2022 16:33:29 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[scroll-animations-1] currentTime when scroll range is 0?`, and agreed to the following: * `RESOLVED: In the absence of scroll range, timeline becomes inactive` <details><summary>The full IRC log of that discussion</summary> <emilio> topic: [scroll-animations-1] currentTime when scroll range is 0?<br> <emilio> github: https://github.com/w3c/csswg-drafts/issues/7401<br> <emilio> flackr: when you have a scroll timeline the currentTime is effectively the scroll-position / range of scroll<br> <emilio> ... but if there's no scroll range then you'd have division by zero / infinite range<br> <emilio> ... we think that the timeline should become inactive when in this state<br> <emilio> ... rather than being at the beginning or end or something<br> <emilio> Rossen_: makes sense, question would be: if you have a scrollport that has content which isn't exceeding the scrollable bounds and you resize it, you're saying that only when you have scroll range the timeline is valid<br> <emilio> ... numerically I get your point<br> <emilio> ... in the case when the scrollport resizes<br> <emilio> ... what does that do to the animation?<br> <emilio> ... you said the timeline becomes invalid?<br> <emilio> flackr: inactive, which is an existing state, where the currentTime is null<br> <emilio> ... so basically if you resize so that it's not scrollable the effects will no longer apply<br> <Rossen_> q?<br> <emilio> emilio: when you stop applying the effects the animation doesn't pause right? You get discontinuity<br> <emilio> flackr: that's right, is not weirder than having a very small scroll range<br> <dholbert> scribenick: dholbert<br> <emilio> dbaron: can you have overscroll in these elements?<br> <dholbert> flackr: I don't think so<br> <emilio> flackr: depends on browser, I think on ~all browsers you don't get overscroll effect<br> <dholbert> scribenick: emilio<br> <emilio> ... but on safari desktop it does<br> <emilio> ... there's also the question of whether the overscroll effect factors in the scroll timeline<br> <emilio> dbaron: I was just wondering if you could end up with weird effects in the overscroll effect<br> <emilio> flackr: I think we'd still not have a reasonable range<br> <Rossen_> ack dbaron<br> <emilio> ... I think we shouldn't factor the negative range into the effect<br> <smfr> i agree with not applying overscroll here<br> <emilio> ... it's more stuff to worry about for developers, plus browsers don't technically limit the amount of stuff you can overscroll<br> <emilio> dbaron: that's a good enough answer I think<br> <emilio> RESOLVED: In the absence of scroll range, timeline becomes inactive<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7401#issuecomment-1190502162 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 July 2022 16:33:31 UTC