Bug 83953 - Ctrl+click does not work correctly on second click with URLs containing hashes
Summary: Ctrl+click does not work correctly on second click with URLs containing hashes
Status: UNCONFIRMED
Alias: None
Product: WebKit
Classification: Unclassified
Component: UI Events (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-13 15:56 PDT by patrick.r.cook
Modified: 2012-04-13 16:25 PDT (History)
1 user (show)

See Also:


Attachments
Test case page (405 bytes, text/html)
2012-04-13 15:57 PDT, patrick.r.cook
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description patrick.r.cook 2012-04-13 15:56:26 PDT
Case 1: Ctrl+clicking hash link after back button doesn't open in new tab

Steps to reproduce
1. Click a link that points to the current URL with a hash tag (e.g. <a href="#newPage">Link</a>)
2. Click the back button
3. Ctrl+click the link

Expected results: The link opens in a new tab
Actual results: The link opens in the same tab


Case 2: Ctrl+clicking a link a second tab opens in the same tab
1. Ctrl+click a link that points to the current URL with a hash tag (e.g. <a href="#newPage">Link</a>)
2. Ctrl+click the link a second time
Expected results: The link opens in a new tab
Actual results: The link opens in the same tab
Comment 1 patrick.r.cook 2012-04-13 15:57:18 PDT
Created attachment 137169 [details]
Test case page