Re: [csswg-drafts] [scroll-animations-1] CSS @scroll-timeline: Allow `<element-offset>` selector() to point to self (#5884)

As I came to understand on Twitter per tweet by @majido ([ref](https://twitter.com/majido/status/1364404572924608512)):

> We envisioned this idea when working on element based offset. We considered v2 just to get the basic out the door first. Glad you are giving this feedback.

In the linked-to issue https://github.com/w3c/csswg-drafts/issues/4337 this is covered in more detail, and the (initially) proposed keyword is `:animaton-target`

> Initially, it may be enough for `<element()>` to only support #ID selector and also a special syntax `element(:animaton-target)` that selects the animation target itself. Later this can be expanded to support more complex selectors.

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


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

Received on Wednesday, 24 February 2021 09:23:46 UTC