@import and @supports

Hello all,

I'm looking for a way to import a CSS only if the browser supports
some feature. However, apparently @import and @supports don't mix: I
cannot use @import within a @supports block because "@import must
precede other rules", and @import doesn't allow a @supports-style
media-query.

Either of these two constraints should be relaxed, either by allowing
@import inside @supports or by adding @supports-style queries to
@import.

(For what it's worth, the LINK syntax to reference CSS files from HTML
should also be extended for @supports-like queries, but I believe this
is off-topic in this mailing list.)

-- 
Giuseppe "Oblomov" Bilotta

Received on Thursday, 11 October 2012 06:39:50 UTC