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

Works great in IE8 - any way to activate it in IE9? #30

Open martinstender opened 11 years ago

martinstender commented 11 years ago

Hi there - great solution to the missing background-scaling in IE8 :-)

I think the scaled down graphics looks better in IE8 (with your htc) than they do with IE9's native scaling - is there anyway to make it work in IE9 as well?

jefferyto commented 10 years ago

Thanks!

I doubt IE9 would use two difference image scaling algorithms for background and "foreground" (<img>) images (the polyfill uses a scaled <img> to simulate the background image in IE8)... If you compare a <div> with a background image and a <img> (both with the same image, scaled down) in IE9, is there a significant difference?