Re: [csswg-drafts] Declarative custom functions (#7490)

As I understand it, that naming restriction is in place because custom properties are declared in rule blocks alongside regular properties so the prefix is necessary to avoid collisions. The formal parameters are not declared in rules so there's no such collisions to avoid. If the issue is the definition of `var` syntax, couldn't that be updated at the same time? The `--`-less `var`s could only show up in function bodies so I don't see any point where it could cause issues in practice where it wasn't already an error.

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


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

Received on Friday, 23 September 2022 21:46:46 UTC