It's JS, check the gist. The race condition is with image loading. I don't think CSS has race conditions, but someone please prove me wrong here :)
I suppose implementation could have, but since the language is declarative, I think that could rightfully be considered a bug.
Oh all right, that makes more sense.