- From: andruud via GitHub <sysbot+gh@w3.org>
- Date: Mon, 27 Jan 2025 10:31:51 +0000
- To: public-css-archive@w3.org
> Should we generally avoid looking for cycles in a branch not taken during any substitution? (E.g. attr()).
This would extend to custom functions as well; none of the following functions are in a cycle:
```
@function --x() {
@media (false) {
result: --x();
}
result: 1px;
}
```
```
@function --y() {
@if (false) { /* If added in the future */
result: --y();
}
result: 1px;
}
```
```
@function --z() {
--unused: var(--unused);
result: 1px;
}
```
--
GitHub Notification of comment by andruud
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11500#issuecomment-2615379786 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 27 January 2025 10:31:52 UTC