Skip to content

[css-view-transitions-2] Clarifications around view-transition-group #10957

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
noamr opened this issue Sep 26, 2024 · 3 comments
Closed

[css-view-transitions-2] Clarifications around view-transition-group #10957

noamr opened this issue Sep 26, 2024 · 3 comments

Comments

@noamr
Copy link
Collaborator

noamr commented Sep 26, 2024

We recently resolved on view-transition-group, but a few things remained unresolved:

Proposing:

  • view-transition-group semantics are tree-scoped
  • view-transition-group acts like view-transition-class in a mismatch (last capture wins)
  • nearest and <<custom-ident>> implicitly also main contain
@fantasai
Copy link
Collaborator

For the last one, I think that was already resolved (by adopting the proposal as expressed in the issue prior to the resolution).

@css-meeting-bot
Copy link
Member

The CSS Working Group just discussed [css-view-transitions-2] Clarifications around `view-transition-group` .

The full IRC log of that discussion <TabAtkins> noamr: we resolved in the VT breakout on many things, but there were some unclear or edge cases
<TabAtkins> noamr: small but related
<TabAtkins> noamr: want to clarify the semantics of VT keywords are tree-scoped
<TabAtkins> noamr: We have keywords like 'nearest'
<khush> q+
<TabAtkins> noamr: Want to clarify they're tree-scoped as well, so 'nearest' can't capture things that couldn't be explicitly named
<TabAtkins> noamr: the other one is what happens in a mismatch, the old doc says "VT group X" the new says "VT group Y"
<TabAtkins> noamr: It appears there's no good solution
<TabAtkins> noamr: want to just be consistent with v-t-class and such. the semantic there is "last capture wins", so it'll usually take the VT group from the new doc state, unless it's an exit transition
<TabAtkins> noamr: third thing, not clear when using 'nearest' or a name that it also contains its descendants
<TabAtkins> noamr: if not, it's impossible for an element to contain and be contained at the same time
<TabAtkins> noamr: our proposal is to have it also contains its descendants by default
<TabAtkins> noamr: you can always escape by normal
<khush> q?
<TabAtkins> fantasai: it seems like this is three issues all filed separately, can we take them one by one?

@astearns
Copy link
Member

working on the individual issues instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Thurs afternoon
Development

No branches or pull requests

4 participants