W3C home > Mailing lists > Public > www-style@w3.org > December 2009

Re: Feature queries

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Wed, 9 Dec 2009 13:25:47 -0800
To: Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: Andrey Mikhalev <amikhal@abisoft.spb.ru>, www-style@w3.org
Message-ID: <20091209132547.55b889ad@trurl>
Boris Zbarsky <bzbarsky@MIT.EDU> wrote:
> On 12/9/09 11:15 AM, Andrey Mikhalev wrote:
> > such at-rule already exists. called @media.
> > btw, alows to avoid stylesheet load.
> 
> We did consider adding media queries for this, but the syntax ends up 
> looking pretty terrible, especially if and/or are allowed: too many 
> parentheses.

I concur.

> You're right that it would allow @import to be conditioned on this 
> stuff; is that a highly desirable property?

If we go with my @if/@elif/@else idea, it would (IMO) make sense to
allow nesting @import inside them.

zw
Received on Wednesday, 9 December 2009 21:26:21 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:47:12 GMT