mdn / browser-compat-data

This repository contains compatibility data for Web technologies as displayed on MDN
https://developer.mozilla.org
Creative Commons Zero v1.0 Universal
4.93k stars 1.98k forks source link

html.elements.embed - Embed on Edge triggers download #23415

Closed binber18 closed 3 weeks ago

binber18 commented 3 months ago

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
queengooborg commented 3 months ago

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: