- From: Khushal Sagar via GitHub <sysbot+gh@w3.org>
- Date: Tue, 21 May 2024 01:59:06 +0000
- To: public-css-archive@w3.org
Evaluating how `view-transition-parent` would work with the naming proposals on https://github.com/w3c/csswg-drafts/issues/8320. There shouldn't be an issue with the `attr()` and `element-uuid()` syntax. One of the examples on the issue shows how custom properties allow using a parent's name on a child. For example, ```css .card { --card-id: element-uuid(); view-transition-name: ident(var(--card-id)); img { view-transition-parent: ident(var(--card-id)); view-transition-name: ident(var(--card-id) "-img"); } } ``` But I don't see how `view-transition-parent` could be set if an ancestor was named via `view-transition-name: auto`. Not a big deal, we don't have to support all naming syntaxes with `view-transition-parent`. Just something worth thinking through. -- GitHub Notification of comment by khushalsagar Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10334#issuecomment-2121563511 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 21 May 2024 01:59:06 UTC