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

Deactivate self if browser supports background-size #38

Open jefferyto opened 10 years ago

jefferyto commented 10 years ago

Currently, the polyfill does its job without testing whether the browser supports background-size or not, depending on the site author to include it only for IE<9. It would be good if it can deactivate itself if the browser does support background-size. (In reality this would only be IE9, but a feature test would be best.)