Re: [csswg-drafts] [css-view-transitions-2] Allow an auto-generated `view-transition-name` that doesn't default to ID (#10995)

> The complexity is hidden behind the word auto.

This has kind of always been the point of the `auto` value fwiw. Here are some examples:

- `outline-style: auto` hides the complexity of the native focus outline
- `text-spacing-trim: auto`/`text-autospace: auto` lets the UA pick high quality spacing values
- `animation-duration: auto` computes the complex duration for scroll-driven animations

I'd be open to tweaking the definition of the `auto` value, but I think removing it completely is counterproductive. Maybe an improvement could be `SPA ? "match-element" : "attr(id ident)"`. 

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


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

Received on Saturday, 2 November 2024 15:37:16 UTC