Steps to reproduce
If you set
contenteditable=true attribute to an inline element, like
span it will become displayed as
inline-block rather than an
What’s even more interesting is that if you check for computed styles of this element, IE will tell you that it’s still an inline element, even it’s not.
You can see all of this here in this demo: http://codepen.io/mlewand/pen/RGGxOj
In other browsers like Fire Fox and Chrome the inline element flows correctly.
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “Brad E.”
Changed Assigned To to “Travis L.”
Changed Assigned To to “Amit J.”
Changed Assigned To to “Bogdan B.”
Changed Assigned To from “Bogdan B.” to “Peter S.”
Changed Status to “Confirmed”