Re: [csswg-drafts] [css-shared-element-transitions-1] Renaming and brevity (#7788)

I am quite fond the name "view"!

`view-name` sounds like it's the name of the view, but really it's a "part" of the overall "view" transition. 

Just so I understand, why is there a need to use a new tagging system, rather than reusing one of the existing tagging systems (class, id)? I assume it's hard to support general selectors in psuedoelements here, but still wondering whether with this new DOM structure being represented in pseudoelements, rather you really do need some sort of selector syntax for that. I believe this was proposed elsewhere, I forget what the response was.

```
html::view(.header)
```

I do like the shorter names, but naming things just `::view` does lose the sense of transition. `::view` alone sounds like it could be static, like `::backdrop` rather than something ephemeral and specific to a transition. Somewhere in between is `::view-transition`

Alternate to `before` and `after` is `enter` and `exit`, which are slightly shorter.

Rather than `view-before` is a pseudoclass an option?

```
::view-transition(root):enter
```

-- 
GitHub Notification of comment by tbondwilkinson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7788#issuecomment-1258328538 using your GitHub account


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

Received on Monday, 26 September 2022 16:42:05 UTC