It is standard across web browsers that middle-clicking a link signifies the user's intent to open that link in a new tab. Safari, Camino, Firefox, and Opera all exhibit this behaviour. However, in the new Webkit nightly, if a link has the target attribute "_top", the link will be errantly opened in a new window even when middle-clicked.
This behaviour seems to be incorrect.
As an aside, it would be *really* nice to have a preference that forced all target=_top links to open in new tabs. A browser's window behaviour should remain in the user's control.
Has someone reproduced this? With which nightly? The reason I asked is that I can't reproduce this problem with command-click. And the Safari application transforms middle clicks into command clicks.
Apparetly this does really happen with middle-click, though not command-click.
I can't reproduce the buggy behaviour reported. In a test page I made with two frames, each containing a link. Left-clicking the link with it's target set to _top cleared the frameset and loaded the page in the same window. Middle-clicking the link opened it in a new tab. With the target set to _new, left-clicking resulted in a new window, and middle-clicking resulted in a new tab. Test case added as URL above.
I have a Microsoft Intellimouse Explorer 3.0
If you want I can plug in a four button ADB mouse to my G3 and try there, but would need to update and recompile webkit on that machine, which may take 6 hours or so.
On a machine with Logitech mouse drivers installed the following results were observed:
- MX1000 configured to send Command-click for scroll-wheel click opened a tab as expected
- Generic OEM Logitech mouse gave behaviour described - however the Logitech drivers seem to have taken over the generic mouse too giving this behaviour
On another machine with no custom mouse drivers the Generic OEM mouse opened a tab as expected.
I cannot reproduce this, if it is still reproducible i guess i'll have to go mouse hunting.
However given that it is not highly reproducible i am moving to p2 as well