- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 03 May 2023 23:25:12 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[scroll-animations-1] [web-animations-2] Clarifying behavior of getCurrentTime(rangeName)`, and agreed to the following: * `RESOLVED: Return positive infinity for time values after the range, and negative infinity for times coinciding with and before` <details><summary>The full IRC log of that discussion</summary> <dael> astearns: Follow up about what happens when start = end<br> <dael> flackr: I believe fantasai added to agenda. Clarification is how to handle start time = end time<br> <dael> flackr: I've prop never return 0 for current time with assumption dev is plugging this into an animation and if they plug - or + infinity they guar. the animation is before or after phase and that's not same as the effect they're copying time of<br> <astearns> ack fantasai<br> <dael> fantasai: I don't have much of an opinion. If it's not 0, then what is it? Can we resolve on what we want it to be?<br> <dael> flackr: It's what you said in your second option.<br> <dael> flackr: [reads]<br> <astearns> Return positive infinity for time values after the range, and negative infinity for times coinciding with and before.<br> <dael> fantasai: So negative infinity for coinciding? I don't know I thought through this.<br> <dael> flackr: Yes, that is correct<br> <dael> fantasai: I know I suggested negative infinity, but I don't remember why<br> <fantasai> and maybe I got it backwards when typing<br> <dael> astearns: Only difference between your options is what we do with time values coinciding with a single point in the range<br> <dael> fantasai: Right, if you land on that point should it be before or after start<br> <dael> flackr: I believe I compared this to a running animation with 0 duration. Recollection is your statement matched the animation behavior<br> <dael> fantasai: If you think it's right, I'm fine. I just want to make sure<br> <dael> astearns: My question- is this just an edge case we're filling a rational answer in for or is this something devs are expected to handle?<br> <dael> flackr: My opinion this is a bit of an edge case and we're trying to fill in value that would give the same effect as an animation with that range<br> <dael> astearns: Other comments on this?<br> <dael> astearns: Prop: Return positive infinity for time values after the range, and negative infinity for times coinciding with and before<br> <dael> astearns: Objections?<br> <dael> RESOLVED: Return positive infinity for time values after the range, and negative infinity for times coinciding with and before<br> <dael> astearns: As fantasai said, seems a bit weird but this is a good...<br> <dael> flackr: I did paste a demo on March 10 demonstrating. So I'm not misremembering<br> <dael> astearns: If you have time fantasai or anyone else please take a bit of time considering implications in case we want to revisit<br> <dael> github-bot topic, https://github.com/w3c/csswg-drafts/issues/8542#issuecomment-1515216159<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8114#issuecomment-1533876243 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:25:14 UTC