support CSS loaded through @import.  See the notes in the code.  It's a hacky solution for now, also does not work in Firefox.