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/
Kevin Peters commented
Are you guys actually braindead? You completely disregarded Video?
Paul Knight commented
With video being an ever-increasing and vital part of the web, can you please implement this on video elements as well, I can't fathom why you've only decided to do it on image elements?
Ladislav Durchánek commented
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.
Ladislav Durchánek commented
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.