object-fit and object-position
CSS properties that control the position and size of replaced content within the content box.
object-fit and object-position shipped in Edge 16. No more stretched images \o/
This is NOT implemented as it is supported on img tags only, see https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/13603873/
I can't believe that even after 3 years it wasn't done properly.
Jarno de Wit commented
Great work! Thanks for implementing this highly requested feature.
Primoz Cigler commented
Amazing, I can finally mark my article on medium as non-relevant: https://medium.com/@primozcigler/neat-trick-for-css-object-fit-fallback-on-edge-and-other-browsers-afbc53bbb2c3
Eugene Mikhushkin commented
Noel Schenk commented
Thank you this is awesome!!!
Nisim Joseph commented
Nikita Mikhalyov commented
Instead of new hacks for this junky piece of Microsoft software again, I think the best thing is to simply implement a message to users to avoid using this incredibly bad browser and download one of the real things. Let’s join forces and boycott Microsoft. With Edge they have proven that they hardly learned from previous failures.
Ben Thuss commented
Please, please implement this. As a visual designer it is a very useful property that unfortunately I cannot use due to lack of IE/EDGE support
Kristian Bangsø commented
Come on its not rocket science friends zzzZZzzZZzz
Juraj G. commented
Is anyone from Microsoft even reading this?
@Ferdy: 100% agree.
Frank W commented
@Ferdy: I totally agree with you.
Had to use background images instead of image tags since Microsoft is so awesome.
Thanks for the extra work.
Good point, why bother voting.
@Ferdy, well said!
Come on Microsoft, you're a disgrace to the browser race!
Ferdy Christant commented
Today I checked the change log of the latest Edge release. And I'm wondering if there's a point to this feedback process at all.
Explain to me why a highly experimental feature like WebVR that almost no developer will use or need right away has been released, whilst at least 10 fundamental web technologies in which you are directly lacking compared to other browsers, that have thousands of votes, are nowhere in sight?
I'm sure you have limited resources and cannot take on everything, which is exactly the point: pick the things that matter. The overwhelming feedback from developers is to fix the basics. Edge will never be taken seriously if it continues to be the browser in which nothing works.
I was hoping EDGE was going to redeem itself after IE. What a mistake that was all other browsers are compatible with object-fit what a big let down.
Al B. Sure commented
You see the anger in these comments? It's justified. Stop with stupid gimmicks of being able to write on a web page and make a functional browser so we can display our web page as intended like other real browsers. This is the very reason I never ever suggest using a MS browser of any kind. I go out of my way to note on my site to use any other browser than Edge or IE. If I detect a MS browser I provide links to Chrome. I hate MS browsers with the utmost passion and any project manager on the Edge team needs to be fired now. Balmer screwed up Windows 8. C'mon we don't need your browser. Stick with the OS and let us have other to chose from. I'm just digusted that this will never change with your web presence.