Re: [csswg-drafts] [scroll-animations-1] Term for concept of timeline phases (#7701)

So just to update the proposal, we can call the concept timeline ranges.

In CSS, we can make animation-delay a shorthand for specifying start and end delay, and/or a named range, i.e.
```
animation-delay:
    <timeline-range-name> |
    <animation-delay-start> |
    <animation-delay-start> <animation-delay-end>
```
Where:
* When only `<animation-delay-start>` is specified, `<animation-delay-end>` computes to 0 for backwards compatibility.
* `<animation-delay-start>` and `<animation-delay-end>` are `<time> | <timeline-range-name> <percentage>`
* When just specifying `<timeline-range-name>` it will expand to `<timeline-range-name> 0% <timeline-range-name> 100%` to automatically fill the specified range.

Given this, I don't know if we need an `animation-range` property.

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7701#issuecomment-1245888058 using your GitHub account


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

Received on Tuesday, 13 September 2022 19:53:54 UTC