Units #35

ecotypes opened this Issue Sep 8, 2013 · 2 comments


None yet

2 participants


First of all, thanks -- this is a life savor.

Second, for user documentation, you might want to specify that height and width should not have units. I discovered that the hard way -- luckily breakpoints work.

Thanks again.


No worries.

Although browsers allow them, the spec for img height and width attributes have never allowed px units, they should always be a "non-negative integer" (http://dev.w3.org/html5/markup/img.html).

It would be fairly trivial to support them, but I don't think I want to add a bit extra weight to the plugin to deal with this edge case.

@stowball stowball closed this in 7549e35 Sep 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment