browser-compat-data icon indicating copy to clipboard operation
browser-compat-data copied to clipboard

html.elements.embed - Embed on Edge triggers download

Open binber18 opened this issue 1 year ago • 1 comments

What type of issue is this?

Browser bug (a bug with a feature that may impact site compatibility)

What information was incorrect, unhelpful, or incomplete?

When you embed a pdf on edge with the embed tag it triggers a download of that file and the file does not show on the page

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

An embedded PDF like on safari

Did you test this? If so, how?

Embedding a pdf file on an html page

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

No response

MDN URL

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed

MDN metadata

MDN page report details
  • Query: html.elements.embed
  • Report started: 2024-06-17T13:58:15.754Z

binber18 avatar Jun 17 '24 14:06 binber18

I am not able to confirm this issue. I added a simple embed to a test page -- <embed type="application/pdf" src="/static/test.pdf" width="600px" height="800px" /> -- and it displayed as embedded as expected.

Could you provide details about your environment? In particular, the following would be helpful:

  • Operating System
  • Browser Version
  • Test Code Used

queengooborg avatar Jul 07 '24 12:07 queengooborg