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

Not working in Microsoft Edge #45

Open anselmh opened 8 years ago

anselmh commented 8 years ago

Due to a bug in getMatchedCSSRules in Microsoft Edge this polyfill won’t work as expected in Microsoft Edge. As this function is basically the heart of the polyfill, I have no clue how to fix this without refactoring the whole polyfill (which due to other restrictions is unwanted).

I’m very sorry about this. In case anyone has a solution, please let me know or send a Pull Request.

julkue commented 8 years ago

Wontfix for Edge?

anselmh commented 8 years ago

Yes, I have no way to fix this currently as Edge does not provide any alternative and therefore the aimed solution is not usable anymore. I’m sorry about this and have been poking people at Microsoft regarding this and the native support but did not get an answer. :(