[Webkit-unassigned] [Bug 23876] New-tab click uses current tab

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 10 13:31:26 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23876





------- Comment #2 from root at varusonline.com  2009-02-10 13:31 PDT -------
(In reply to comment #1)
> The source looks like:
> 
> <li onclick="document.location='/mygear/luggage.php';"><a
> href="/mygear/luggage.php">Luggage</a></li>
> 
> It's not clear why you think Safari's behaviour is incorrect.  It's certainly
> not what you intend, but the click event handler on the <li> element is
> navigating the current document.
> 

(In reply to comment #1)
> The source looks like:
> 
> <li onclick="document.location='/mygear/luggage.php';"><a
> href="/mygear/luggage.php">Luggage</a></li>
> 
> It's not clear why you think Safari's behaviour is incorrect.  It's certainly
> not what you intend, but the click event handler on the <li> element is
> navigating the current document.
> 

Other browsers handle it differently.  In other browsers, click processing
stops after the new tab is opened.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list