name attribute on object element doesn't create named browsing context

Issue #11235003 • Assigned to Travis L.

Details

Author
Amelia B.
Created
Mar 10, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Found in build #
14.14393
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Summary: In HTML 5, the object element is treated as a nested browsing context, just like an iframe. And just like an iframe, it can take a name attribute that you can reference in the target attribute of links. Except that it doesn’t work in MS Edge (or IE).

Specs:
https://html.spec.whatwg.org/multipage/browsers.html#dom-window-nameditem-filter
http://w3c.github.io/html/semantics-embedded-content.html#element-attrdef-object-name

To reproduce:

  • Create a webpage with an object element with a valid name attribute.
  • To avoid possibly confounding bugs, also give the object a valid data-type and a starter data file.
  • Create a link elsewhere in the page with a target attribute that matches the object’s name, and an href that matches the object’s data-type.
  • Click on the link.

In other browsers, the referenced file will open within the object’s browsing context. In Edge and IE, it opens in a new tab.

Test case (which also demonstrates a link within the object replacing itself just fine):
https://codepen.io/AmeliaBR/pen/GWWbZY/

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Travis L.”

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

    Sign in