Re: [csswg-drafts] [css-values] A way to dynamically construct custom-ident and dashed-ident values (#9141)

So distilling the proposal based on the above feedback:
- We use `ident()` and `attr()`. `ident()` is consistent with `string()`, but generates an ident instead. It can accept strings/numbers/other idents.
- `attr()` with a predefined allow-list (id, data-*, ...?)

How do people feel about `ident("--" ...)` vs `dashed-ident(...)` (or `--(...)`) ? I have a preference for a `dashed-ident` function but maybe it's a bit verbose/technical?

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


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

Received on Friday, 12 April 2024 09:00:37 UTC