Edge Does Not Respect Anchor Tag Type Attribute

Not reproducible Issue #8803419


Shawn K.
Sep 8, 2016
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Standard affected
HTML a type Attribute

Found in build #
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

I host a .themepack (Windows theme file format) file on my domain (at soulcon.com/downloads), but Edge tries to save it as a .htm file when the link to the .themepack file is clicked. I tried setting the mime type of the link by using the TYPE attribute on the <A> link (as outlined here: http://www.w3schools.com/tags/att_a_type.asp) and it doesn’t work. Edge ignores the type and continues to try to save the file as a .htm file.


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

    • Thanks for the feedback on Edge. I tried searching using the DOM Explorer but can’t quickly locate the specific anchor tag that you are referring to.

      Could you provide a direct link to the file itself? Or at least the anchor tag specifically that is being used?

    • I changed it to a .zip download instead as a workaround. However you can still see the effect if you try to navigate to “https://soulcon.com/img/SOULCON.themepack” using IE or Edge. However if you navigate directly then of course there’s no anchor tag “type” to inform the browser of the type of file.

    • Thanks, I figured as much. Tried to guess the path. I was close… :)

      I setup a quick repro based on the facts provided so far located here:

      But it doesn’t seem to repro. My best guess is that I have the wrong type. Can you confirm for me that you are using text/html as the type?

    • Well try as I might I can’t reproduce it at all now. Frustrating considering I spent hours with support at the host trying to convince them to please allow me to set my server’s mime types, or being told to set the link type with the attribute. But somehow, someway, it is working now. Sorry for wasting your time.

    • Microsoft Edge Team

      Changed Status to “Not reproducible”

    • Been there, done that. If you ever see the issue resurface feel free to reactivate the issue so that we can investigate.

      Best regards,
      The MS Edge Team

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

    Sign in