[csswg-drafts] Should view-transition-group contain or <ident> take precedence (#10639)

vmpstr has just created a new issue for https://github.com/w3c/csswg-drafts:

== Should view-transition-group contain or <ident> take precedence ==
In https://github.com/w3c/csswg-drafts/issues/10334, we resolved that we will have the following property:

```css
view-transition-group: normal | <ident> | nearest | contain
```
Consider the following structure

```
A  /* view-transition-name: foo */
|
- B /* view-transition-group: contain */
  |
  - C /* view-transition-group: foo */
```

Here `B` should contain all descendants and `C` is saying it wants to be contained by `A`. What should be the behavior? We can either say that `B`'s `contain` wins and we don't respect `C`'s desire to group under `A`, or `B`'s `contain` does not contain `C` because it has an explicit reference to `A`.

I'm leaning towards the latter here loosely because it feels like `C`'s "specificifity" of ident is higher than `B`'s desire to contain everything.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10639 using your GitHub account


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

Received on Monday, 29 July 2024 16:52:23 UTC