- From: Bramus via GitHub <sysbot+gh@w3.org>
- Date: Sun, 10 Dec 2023 21:13:33 +0000
- To: public-css-archive@w3.org
I see what you mean @nmn … you would like to refer to a trait of the original element without the indirection. It should just happen _automagically_, as in the given example you’re doing nothing more than copying over the CSS class to the VT class, which seems redundant. Maybe that could just be the case: the classes (and IDs) don’t get applied to the pseudos but are stored internally so that you can refer to them later on with the `of …` syntax _(or whichever one we land on)_. It would also rhyme nicely with `view-transition-name: auto`, as you could then simply re-use the classes/ids from the original element in the pseudos e.g. `::v-t-x(* of #id)` and `::v-t-x(* of .cls)`. The use-case for an explicit `view-transition-name: ident` would then be limited to situations where the transition happens between two states that don’t share an id or classes (e.g. animating a thumbnail `img.thumb` in a list in state 1 to the hero image `img#hero` in state 2). -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8319#issuecomment-1849086739 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 10 December 2023 21:13:35 UTC