Re: [csswg-drafts] [css-view-transitions-1] Should view transition names be tree scoped? (#10145)

> > @noamr Yep, i am sharing across boundaries, something like [this](https://github.com/shonya3/divicards-site/blob/4459782cb697a818181d9f80e83caff7f1c91c3b/src/pages/p-card.ts#L61) or [this](https://github.com/shonya3/divicards-site/blob/4459782cb697a818181d9f80e83caff7f1c91c3b/src/elements/divination-card/e-divination-card.ts#L109) Bramus [explained](https://github.com/w3c/csswg-drafts/issues/10145#issuecomment-2174221840) my case perfectly.
> 
> Gotcha. I see that you're using shadow parts already in the first example? Do you think enabling `view-transition-name` on `::part` like in #10303 work for your use case? Superficially it seems like the right direction.

Enabling view-transition-name for ::part looks logical and natural to me. 


But the main concern for me is whether [it](https://github.com/shonya3/divicards-site/blob/aab4646f9c2b0b280c8a16cd279e1d7c43af79bb/src/main.ts#L16) will work without much hassle.


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


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

Received on Wednesday, 3 July 2024 18:32:35 UTC