Re: [csswg-drafts] [web-animations-2] Web animations API for specifying timeline phases in animation options. (#7589)

My strawman proposal for the object would be something like the following:
```
dictionary TimelineRangeOffset {
  CSSOMString? rangeName;
  CSSNumericValue offset;
}
```

The name TimelineRangeOffset is based on the term name from #7701 but this could also be AnimationDelay, TimelineRange, or something else more appropriate.

Using a CSSNumericValue would in theory allow for arbitrary offsets from the start / end of a range, e.g. `calc(100% + 10px)`. Also, without a range name specified this would allow specifying offsets such as CSS.px(50) (e.g. which should support #7575 #7296 #4342).

-- 
GitHub Notification of comment by flackr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7589#issuecomment-1245929570 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 20:36:27 UTC