- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 11 Apr 2024 10:56:22 +0000
- To: public-css-archive@w3.org
> What should it be? A string? Yeah. Well in fact I don't see the need for `data()` if you can use `attr(data-name ident)` > Perhaps it can have a special type, something like attribute-value that can be used inside ident() If `ident()` concatenates a list of strings or idents into an ident, then no new type seems needed. > perhaps later on inside `url()`? I would prefer some explicit way of concatenating strings into a string, which you may then use inside `url()`. > `ident("song" attr(id) "-" counter(foobar))` Be aware of #1929. And this would be circular: ```css counter-reset: ident("c" counter(c0)) 1; ``` At first there is no instance of `c0` so `counter(c0)` is 0, but then this produces `counter-reset: c0 1` so now it becomes `counter-reset: c1 1`, etc. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9141#issuecomment-2049429701 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 11 April 2024 10:56:23 UTC