Making inline element a contenteditable causes it do display as inline-block

Confirmed Issue #8988348 • Assigned to Peter S.

Details

Author
Marek L.
Created
Sep 20, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
14.14393
Reports
Reported by 4 people

Sign in to watch or report this issue.

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 inline element.

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.

Attachments

0 attachments

    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”

    You need to sign in to your Microsoft account to add a comment.

    Sign in