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

> Parsing purposes. Think of shorthands, such as `scroll-timeline`.
> 
> With `ident()`:
> 
> * `scroll-timeline: inline ident("tl-" var(--id))`
> * `scroll-timeline: ident("tl-" var(--id)) inline`
> 
> Without `ident()`:
> 
> * `scroll-timeline: inline "tl-" var(--id)`
> * `scroll-timeline: "tl-" var(--id) inline`

Sure, though perhaps these can work without the `ident` function when it's not in a shorthand. 
```css
scroll-timeline-axis: inline;
scroll-timeline-name: "tl-" var(--id);
/* or */
scroll-timeline: inline ident("tl-" var(--id));
```


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


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

Received on Tuesday, 9 April 2024 10:13:18 UTC