W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2016

Re: [csswg-drafts] [mediaqueries][css-conditional] else

From: Marat Tanalin via GitHub <sysbot+gh@w3.org>
Date: Fri, 27 May 2016 19:07:18 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-222229268-1464376037-sysbot+gh@w3.org>
> Exactly the same number of parens

Am I the only who sees a couple of extra parens in the first line 
compared with the second one?

    @if media((width >= 400px) and (pointer: fine)) {}
    @media (width >= 400px) and (pointer: fine) {}

> They try to write `@else (float: left) {...}`, but it fails for no 
obvious reason

For `@else`, an exact explicit function like `media()` or `supports()`
 could probably be mandatory. The `@when`-or-`@if` issue would 
probably still be ruled out anyway.

-- 
GitHub Notification of comment by Marat-Tanalin
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/112#issuecomment-222229268 
using your GitHub account
Received on Friday, 27 May 2016 19:07:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:40:58 UTC