W3C home > Mailing lists > Public > www-style@w3.org > January 2012

Re: @import -- allow at any place in stylesheet.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 18 Jan 2012 10:22:06 -0800
Message-ID: <CAAWBYDCSTKMw0=ZLxTr0umh4D8+HkOPskK7F+ijy-ZQjwE1f8g@mail.gmail.com>
To: Simon Sapin <simon.sapin@kozea.fr>
Cc: www-style@w3.org
On Wed, Jan 18, 2012 at 9:49 AM, Simon Sapin <simon.sapin@kozea.fr> wrote:
> Le 18/01/2012 18:22, Oliver St. John a écrit :
>> Would there perhaps be value in combining this with one of the
>> proposals for conditional styling and thus creating contextual
>> @imports?
>
> Indeed. The only form of conditionals in CSS 2.1 is @media rules, and
> @import rules can also take a media type/media query so they can also be
> conditional.
>
> If there are new conditionals that are not media queries, having them
> somehow on @import is valuable.

There's already a note in Conditionals
<http://dev.w3.org/csswg/css3-conditional/#contents-of> about that.

~TJ
Received on Wednesday, 18 January 2012 18:23:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:48 GMT