anselmh / object-fit

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

modify `objectFit.orientation` to append instead of replacing the node's className #43

Closed Maximilianos closed 9 years ago

Maximilianos commented 9 years ago

Tested on Windows 7 IE 11 && Windows 8.1 IE 11, works as before.

anselmh commented 9 years ago

Sorry, seems to have conflicts - can you resolve them so I can merge it?

Maximilianos commented 9 years ago

conflicts resolved, tested again.

By the way is this the correct view for IE:

image

Compared to Chrome:

image

Is that because of the extra element in IE?

anselmh commented 9 years ago

No it’s not. IE has a bit weird behavior unfortunately with the current polyfill.