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).
- Create a webpage with an
objectelement with a valid
- To avoid possibly confounding bugs, also give the object a valid
data-typeand a starter
- Create a link elsewhere in the page with a
targetattribute that matches the object’s
name, and an href that matches the object’s
- 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):
Comments and activity
- Microsoft Edge Team
Changed Assigned To to “James M.”
Changed Assigned To to “Travis L.”
Changed Status to “Fixed”