anselmh / object-fit

Polyfill (mostly IE) for CSS object-fit property to fill-in/fit-in images into containers.
MIT License
996 stars 93 forks source link

Fix empty values in CSSProperties (#5) #6

Closed anselmh closed 10 years ago

anselmh commented 10 years ago

This’d fix the current issues. Though I’m not entirely sure that the value should ever be '' I added this if switch. What do you think @Schepp, is this a workaround / tmp fix we should deploy so FF users get the object-fit behavior?