- From: ExE Boss via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Nov 2018 22:22:56 +0000
- To: public-css-archive@w3.org
@upsuper https://github.com/w3c/csswg-drafts/issues/112#issuecomment-219196404
> As a web developer, I'd prefer not putting it inside, which looks weird, and doesn't match the intuition from any other programming language.
>
> As a browser developer, though, I'm concerned about how CSSOM should handle this.
>
> Also I guess it makes sense to allow `@else` to precede another `@media` or `@support`, like a if-elseif structure. But that would likely make story of CSSOM more complicated.
Well, an else-if statement is just:
```js
if (a) {
} else {
if (b) {
}
}
```
--
GitHub Notification of comment by ExE-Boss
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/112#issuecomment-436799730 using your GitHub account
Received on Wednesday, 7 November 2018 22:22:58 UTC