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

Issue #8988348 • Assigned to Bogdan B.


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”

      Changed Assigned To from “Peter S.” to “Bogdan B.”

      Changed Status from “Confirmed” to “Won’t fix”

    • Is there any particular reason this issue was marked as "Won’t fix"?

    • I’m curious to know the reason too, this bug makes it impossible to implement certain inline editing features in Edge (ofc IE too) which are possible in other browsers.

    • I agree

    • Microsoft Edge Team

      Changed Status from “Won’t fix”

    • Reactivating auto-resolved valid bugs reported by web dev community. Those were not expected to be resolved. We apologize for any inconvenience!

    • Microsoft Edge Team

      Changed Assigned To to “Bogdan B.”

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

    Sign in