chriseppstein/compass — Issue #738: Validate sprite css in mixins not helpers
Author: zanker
Created: 2012-02-27 05:21:24+00:00
State: open

Currently, Compass will validate the CSS of a sprite as soon as the image is imported. The problem with this is that it makes it impossible to use images with numbers at the start because it's an invalid CSS tag.

This only causes invalid CSS if you use the mixins referenced on the [spriting tutorial](http://compass-style.org/help/tutorials/spriting/), but if you use the [advanced helpers](http://compass-style.org/reference/compass/helpers/sprites/) then there are no actual validation errors.

Unless this is intentional, I would be happy to write a pull request to accomplish this, but I was unable to find the exact portion that defines all of the CSS generating helpers in the tutorial.