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

> (less parens)

Exactly the same number of parens.  Extra 5 characters (the `media` at
 the start of each parenthesis set) per MQ, *or* a static 7 characters
 (`media(...)`) around the whole thing.

---

Alternate scenario:  the author has written an `@supports` rule, and 
realizes they need an `@else` condition. They try to write `@else 
(float: left) {...}`, but it fails for no obvious reason, because the 
CSSWG decided that `@media` was the generic form and `@else` has to 
follow - they instead have to remember to write `@else supports(float:
 left) {...}`.

There are minor usability problems both ways. Designing toward 
explicitness makes it easier to learn and remember, tho.  This is a 
lesson I've learned *many* times watching features get designed.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/112#issuecomment-222221707 
using your GitHub account

Received on Friday, 27 May 2016 18:34:57 UTC