- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Nov 2020 15:34:16 +0000
- To: public-css-archive@w3.org
@Awesomecloud Naming is typically decided at the end, all features are proposed with an implied "name to be bikeshedded".
The problem with such a generic conditional is — as usual — cycles.
Consider this:
```
.my-input {
@if (env(width) > 768px) {
width: 700px;
}
}
```
Also, with such generic expressions, there are ambiguities. E.g. what does `@if (calc(env(width) + env(height)) > 100%)` mean, since percentages mean different things in each property?
--
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5624#issuecomment-721202731 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 3 November 2020 15:34:17 UTC