Bug 14194 - Using target="_new" does not behave the same as target="_blank"
Summary: Using target="_new" does not behave the same as target="_blank"
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL: http://www.webbyawards.com/webbys/cur...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-16 21:54 PDT by trey
Modified: 2024-03-14 07:40 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trey 2007-06-16 21:54:44 PDT
+++ This bug was initially created as a clone of Bug #11756 +++

a link with a target attribute that targets a frame panel in another window does not perform any action.
See for example: http://www.webbyawards.com/webbys/current.php?season=11 the site's that are linked to are coded to open in a new window. When the links are clicked, nothing happens. Block Pop-up Windows is not selected in the Menu.

Example code from the source of the page:
<a href="http://www.lynxblow.com/" target="_new">http://www.lynxblow.com/</a>

In the current version of Safari this of course works. It does not in the nightly build of webkit (downloaded 6/15/07).

Perhaps this is connected with the bug http://bugs.webkit.org/show_bug.cgi?id=10828?
Comment 1 David Kilzer (:ddkilzer) 2007-06-17 08:00:20 PDT
(In reply to comment #0)
> +++ This bug was initially created as a clone of Bug #11756 +++

Why did you clone it?  There doesn't seem to be anything different about this bug than Bug 11756.  If you'd like to track the original bug, please just add yourself to the CC: list of the bug.  You should be able to add comments to any bug as well.

I'm going to mark this bug as a duplicate.  If there is something different about this bug than Bug 11756, please re-open this one.



*** This bug has been marked as a duplicate of 11756 ***
Comment 2 David Kilzer (:ddkilzer) 2007-06-17 08:08:52 PDT
I see--the difference is the target name is "_new" instead of "testo".  Sorry...a statement summarizing the difference between the original and the clone would be helpful in the future.

Comment 3 David Kilzer (:ddkilzer) 2007-06-17 09:00:16 PDT
The target="_new" attribute is treated as a plain window name, not like target="_blank".  This means that multiple links using target="_new" all open in the same window (named "_new").

On Firefox 2.0.0.4, using target="_new" behaves the same as target="_blank".

Opera 9.21 behaves the same as Safari 3.0 (522.11) with a local debug build of WebKit r23546.

It would be interesting to know how MSIE 6/7 behaves.

The target="_new" attribute is not specified in the HTML 5 spec:

http://www.whatwg.org/specs/web-apps/current-work/#browsing

Comment 4 Aman Anderson 2008-03-18 21:03:51 PDT
Yes, one thing I have noticed in the new Safari 3.1 is problems concerning the target="#" command. Whether "newwin" or others that open a new tab or window, it seems as if the link is disabled. 
Comment 5 Aman Anderson 2008-03-18 21:04:19 PDT
Yes, one thing I have noticed in the new Safari 3.1 is problems concerning the target="#" command. Whether "newwin" or others that open a new tab or window, it seems as if the link is disabled. 
Comment 6 Anne van Kesteren 2024-03-14 07:40:38 PDT
https://software.hixie.ch/utilities/js/live-dom-viewer/?%3Ca%20href%3D%22.%2F%22%20target%3D_new%3Etest%3C%2Fa%3E seems to work consistently across Gecko and WebKit (and the HTML standard) these days.