- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Sat, 09 Dec 2023 19:22:32 +0000
- To: public-css-archive@w3.org
> > By contrast, one may think that ::view-transition-group(*).box may be written as .box > > > > @vmpstr My primary proposal is `.box::view-transition-group(*)`. This follows the pattern of various other pseudo elements in CSS such as `::scroll-thumb`, `::marker` etc. > > > > These pseudo elements aren't DOM elements and applying styles to the DOM element itself doesn't usually affect them. Yet, we understand that it is a pseudo element *associated* with that particular DOM element. I think the same principle holds here. > > > > The mental model is no different than `::before` or `::after` or `::marker` IMO. This doesn't apply to view transition pseudo elements because they are detached from the elements that created them. Eg the old and new elements can have totally different classes, or you might have an exit transition where the old element is no longer in the DOM. -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8319#issuecomment-1848633773 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 9 December 2023 19:22:34 UTC