- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Tue, 02 May 2023 11:30:10 +0000
- To: public-css-archive@w3.org
> The animation-timeline property doesn't care whether it gets an attaching view or scroll timeline, just looks up the name. Not quite, you can have both scroll and view timelines side-by-side, and `animation-timeline` prioritizes one over the other. > Also a fan of a unified property name. OK, but then we'd have to define which kind of timeline `timeline-root` prefers to attach to, and what to prioritize if the same element defines a deferred timeline, a scroll timeline, _and_ a view timeline all named "foo". IMO we can default to two `-root` properties, and discuss a hypothetical unification separately. > https://github.com/w3c/csswg-drafts/issues/7759#issuecomment-1527936739 SGTM, that mental model is actually quite close to the Blink implementation. But what does @fantasai think about it? It doesn't nest well by default, since a (local) timeline is exposed whether it likes it or not. E.g. you have to explicitly block by specifying a `-root` to avoid your local timeline potentially messing up deferred timelines above you. -- GitHub Notification of comment by andruud Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7759#issuecomment-1531308334 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 2 May 2023 11:30:11 UTC