Re: [csswg-drafts] [css-view-transitions-2] view-transition-name determined by element (#8320)

@romainmenke 

> I also can't help but feel that user should be able to use the full selector syntax to select view transition pseudo elements

Here's an example of a selector for a view transition pseudo element: `::view-transition-new(header)` - can you describe how that isn't 'full'?

> But what if we allow authors to push this information onto them?
> 
> ```css
> /* ignore the exact naming and syntax */
> .foo {
>     view-transition-id: "something-unqiue";
>     view-transition-class: "class-a" "class-b" "class-d";
>     view-transition-attributes: ["foo" "bar"] ["fooz" "baz"]
> }
> ```

Can you describe what the effect of this code is? As in, how would you explain it to a developer? I'm happy to ignore the syntax and naming but I have no idea what it does.

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


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

Received on Tuesday, 9 April 2024 08:59:09 UTC