Open Bug 1849262 Opened 1 year ago Updated 1 year ago

Unrecognized embed elements should render with some sort of fallback content ("an indication that no plugin could be found for element, as the contents of element")

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

People

(Reporter: dholbert, Unassigned)

References

Details

Attachments

(1 file)

Spinning this off from bug 1840788 comment 2.

STR:

  1. Load attached testcase.

EXPECTED RESULTS:
The embed element should render with some sort of indication that we could not find a plugin for the requested content.

ACTUAL RESULTS:
The embed element renders like an empty inline element, i.e. it's got zero width and no content and doesn't paint anything other than its border.

Quoting my notes from bug 1840788 comment 2 regarding the WHATWG html spec:

(That seems to be calling for something along the lines of my "expected results" here, rather than rendering an empty element.)

There was some discussion in https://github.com/whatwg/html/issues/3876 about this too. qDot noted there that, when implementing our current behavior, they "didn't realize that was suppose to go to "unsupported plugin". That'll take a bit more logic on our end but I think is doable."

Attached file testcase 1 (deleted) —
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: