Re: Feature queries

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 UTC