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

@fantasai 

> I think View Transitions is a very natural name for this feature, though, and keeping it in the pseudo names is long but also helpful?

Yeah, I'm thinking:

```
view-transition-name:

::view-transition-root
::view-transition(name)
::view-transition-images(name)
::view-transition-old(name)
::view-transition-new(name)

document.createViewTransition();
```

It doesn't do much for brevity, but I think it's pretty descriptive.

I've gone with `::view-transition(header)` for brevity, since it'll be more common to select that than the root, which I've given `::view-transition-root`.

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


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

Received on Tuesday, 4 October 2022 10:59:24 UTC