- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Tue, 12 Dec 2023 15:00:38 +0000
- To: public-css-archive@w3.org
Discussion summary from internal sync (for real this time), proposing the following: - New CSS property: `view-transtition-class: <<custom-ident>+` - When a `view-transition-class` is defined, it enables the pseudo-elements that select it (`::view-transition-group, ::view-transition-image-pair, ::view-transition-old, ::view-transition-new` - The classes are taken from the new element CSS, unless there is no new element (exit transition), in which case it's taken from the old element. - The selector should allow multiple classes, and *any* of them have to match the transition's `view-transition-class`. - Potential syntax for the selector: ```css 1. ::view-transition-group(*.class1.class2) 2. ::view-transition-group(*).class1.class2 3. ::view-transition-group(* of class1 class2) 4. ::view-transition-group(* / class1 class2) ``` Some arguments: - (2) might be extendible to more generic pseudo-element classes in the future. However it feels like it would work with regular selectors (e.g. `.class1`). - (3) seems awkward when there is more than 1 class? - (4) it's not obvious whether it's `name/class` or `class/name` -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8319#issuecomment-1852207709 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 12 December 2023 15:00:41 UTC