-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting the object element's name attribute need not propagate to the nested browsing context #1623
Comments
@xiaojunwu, you added the test in question in xiaojunwu/web-platform-tests@5e02231, any thoughts? |
So |
There appears to be some differences that involve the I'm sure there are more quirky things hiding here, but I'll prepare a PR to drop the bit in question at least. |
I went and found the commit where this was added: 0a2ab22 Here's a test of that "allow to load stuff in them" bit: In Chrome, Edge and Firefox, "open in iframe" works but "open in object" just opens a new tab. So this thing didn't become reality, time to drop. |
Introduced with 0a2ab22, but it appears that <object name> as a target for <a target> was never implemented. Fixes whatwg#1623.
Context:
https://bugs.chromium.org/p/chromium/issues/detail?id=632243
https://html.spec.whatwg.org/#the-object-element:attr-object-name-3 says "Whenever the name attribute is set, if the object element has a nested browsing context, its name must be changed to the new value. If the attribute is removed, if the object element has a browsing context, the browsing context name must be set to the empty string."
Here's an ad-hoc test:
https://software.hixie.ch/utilities/js/live-dom-viewer/saved/4353
No tested browser seems to do what the spec suggests here, so can it be dropped?
The text was updated successfully, but these errors were encountered: