- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Tue, 10 Sep 2024 08:34:32 +0000
- To: public-css-archive@w3.org
I pondered a lot about this one... The main issue I have with `auto` is that it complicates the model of how the generated pseudos are addressed. Up until now every pseudo was addressable by its ID, and now we have to remember "wait what about `auto`?" every time we add an API that addresses view transition pseudo-elements, like WAAPI. Given that, I think I prefer the `ident(attr())` model, or do something with `auto` that maintains the string-to-pseudo relationship. For example: - `auto` can resolve to an actual unique name that's stable for the same element, and `getComputedStyle(element).viewTransitionName` can reflect it - Have an `element-uuid()` thing like in the original proposal that's usable in other features -- GitHub Notification of comment by noamr Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8320#issuecomment-2340019894 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 10 September 2024 08:34:32 UTC