You're challenge, should you choose to accept it, is to inline the following @import statements in CSS. What should the result be. "SyntaxError" is a perfectly acceptable answer. If anyone knows what the current spec does, I'd be interested to know, but I'm equally keen to find out what people think the spec should do.
Please place the results of inlining @import
statements in each file (except fixture.css) in the comments. Your help is appreciated, and if I meet you in a bar some time, I owe you a pint.
My best guess:
err-what.css:
Late to the party:
Syntax error, only allow
@import
statements at the start of the file or in an@media
blockmass media:
Syntax error,
@import
statements must be at the top of any@media
blockOverhyped:
I'm really not sure about this one???
Repeated:
Only import the same file once, ignore multiple imports
Simple: