W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2012

Re: [whatwg] Proposal for Links to Unrelated Browsing Contexts

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 24 Sep 2012 20:48:42 -0400
Message-ID: <5060FF6A.1070300@mit.edu>
To: whatwg@lists.whatwg.org
On 9/24/12 8:42 PM, Mihai Parparita wrote:
> On Mon, Sep 24, 2012 at 12:11 PM, Ian Hickson <ian@hixie.ch> wrote:
>
>> Why does GMail need to use window.open()? Surely the right way to expose a
>> link is to use <a href="">. What is forcing them to use window.open()?
>>
>
> I can't speak for Gmail, but Google Reader uses window.open since it allows
> "unrelated" links to be opened in response to a key event (the "v" keyboard
> shortcut).

In most UAs this is also possible to do with a click() on the HTML <a>, 
no?  In the ones in which it's _not_ possible that way, they should add 
it, perhaps?

-Boris
Received on Tuesday, 25 September 2012 00:52:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:45 UTC