DOM Explorer (in Developer Tool) displaya enabled boolean attribute as empty attribute

Confirmed Issue #9779321 • Assigned to Jacob R.


Nov 13, 2016
This issue is public.
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

If HTML has <script async src="foo.js">, DOM Explorer displays this element as <script src="foo.js" async="">. It should be <script src="foo.js" async="async">.

This occurs every boolean attribute.


Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Ibrahim O.”

  • Thank you for your feedback. I see that all browsers display the async attribute same in DOM which is important in perspective of interoperability across browsers unless if you can provide us the specs that purpose differ. We will be happy to assist you.

    All the best,
    The MS Edge Team  

  • Chrome 54 displays this as `

  • Oh, tag is stripped… 1st line is:

    Chrome 54 displays this as <script src="foo.js async>. I don’t think all browsers display this same.

  • You can right click and select “Edit as HTML” in Chrome DOM explorer section you will see it is <script src="foo.js" async=""> as it is in Edge and Firefox.

    Best regards,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Assigned To from “Ibrahim O.” to “Jacob R.”

    Changed Status to “Confirmed”

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

Sign in