- From: Theresa O'Connor via GitHub <sysbot+gh@w3.org>
- Date: Fri, 09 Feb 2024 18:14:28 +0000
- To: public-css-archive@w3.org
@heycam [pointed out](https://github.com/w3c/csswg-drafts/issues/4482#issuecomment-553238181) back in 2019 something I think got lost in the subsequent conversation: > I do find it a little odd that the second argument to `attr()` names CSS syntax types and other operations like dimension value construction, and how e.g. `string` means take the literal string content and turn it into a `<string>` token, while `number` means to parse the attribute value as a `<number>` token. I'm half wondering whether it makes sense to align with the syntax used for custom property registration for things like the latter. This is a great point. `@property ... { syntax: ...; }` and `attr(... ...)` should use the same syntax for referring to CSS syntax types. -- GitHub Notification of comment by hober Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4482#issuecomment-1936393756 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 9 February 2024 18:14:31 UTC