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

> If we do name it `scroll`, then that should also be a valid range name for `ScrollTimeline`, right?

That would also allow fixing that non spec-compliant situation in Chrome where you have to pass in `"none"` as the name when trying to set a range using an object in JavaScript. If this were `"scroll"` then it’d make sense.

```js
anim.rangeStart: {
  offset: CSS.px(100),
  rangeName: 'none', // This needs to be `"none"`, but `none` is not defined in the spec as a valid `rangeName`.
},
```

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


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

Received on Tuesday, 23 January 2024 11:08:38 UTC