Re: [csswg-drafts] [css-values] Key-Value and Index Maps for attr() (#4484)

Rediscovering this suggestion of mine, I think with recent changes and additions to CSS, it probably makes more sense to do such mappings in a way that is also usable with `var()` etc., i.e. move the `attr()` inside the `map()`:  
`map(attr(party <string>), "Dem" blue, "Rep" red, "Grn" green, gray)` etc.

I thought @LeaVerou had raised a similar issue, but neither #9992 nor #11543 seems to be it.

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


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

Received on Tuesday, 21 January 2025 12:02:24 UTC