- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Thu, 28 Sep 2023 18:22:43 +0000
- To: public-css-archive@w3.org
You don't need a group around a function's arguments. In this particular case it's becuase there's nothing to group in the first place, but more generally [function syntax implicitly groups its arguments](https://drafts.csswg.org/css-values/#component-functions). (This is a relatively recent addition to the grammar, reflecting what a lot of people were accidentally doing anyway.) I also think it's fine to repeat arguments a little, so long as it's not a clarity issue. It's easier to read `<length> , <length>` than `<length>{1,2}`, in my opinion. So either way is correct, but none of the examples here look like they'd particularly *benefit* from changing. -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/9394#issuecomment-1739808546 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 28 September 2023 18:22:45 UTC