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

[css21] @import parsing

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 04 Feb 2009 17:36:03 +0100
To: www-style@w3.org
Message-ID: <op.uot5qdqc64w2qv@annevk-t60.oslo.opera.com>

One of the tests Microsoft has is testing this:

   1am { so:awesome }
   @import "me";

It expects "me" to be loaded.

CSS 2.1 4.1.5 says: "CSS 2.1 user agents must ignore any '@import' rule  
that occurs inside a block or after any valid statement other than an  
@charset or an @import rule."

"1am { so:awesome }" is a valid statement per the CSS core syntax.  
However, it is also not valid CSS 2.1. The text should be clarified in  
some way since implementors ended up doing different things.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 4 February 2009 16:36:44 GMT

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