[whatwg] Proposal for Links to Unrelated Browsing Contexts

Boris Zbarsky bzbarsky at MIT.EDU
Mon Sep 24 17:48:42 PDT 2012


On 9/24/12 8:42 PM, Mihai Parparita wrote:
> On Mon, Sep 24, 2012 at 12:11 PM, Ian Hickson <ian at 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



More information about the whatwg mailing list