louisremi / background-size-polyfill

Adds support for background-size "cover" and "contain" to IE8
http://louisremi.github.com/background-size-polyfill/
MIT License
1.26k stars 359 forks source link

Added support for px values in background-size #19

Closed honi closed 11 years ago

honi commented 11 years ago

It shouldn't break anything else. When background-size has px values, then those values are used without any other calculation. Otherwise, the original code is used.

jefferyto commented 11 years ago

Thanks for submitting this! The code went through some reorganization during 0.2.0, making it difficult to merge this, but your PR is still appreciated :-)