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

Confirmed Issue #8988348 • Assigned to Peter S.


Marek L.
Sep 20, 2016
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
Reported by 6 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:

In other browsers like Fire Fox and Chrome the inline element flows correctly.


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