[css21] @import parsing

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 UTC