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.
I've made some progress. According to MDN, it's a syntax error unless they're at the top of the document (which keeps things nice and simple). @visionmedia has suggested just doing a simple include might be best (i.e. replace
@import 'foo';
with the contents of'foo'
.