Open Bug 1686439 Opened 4 years ago Updated 9 days ago

Override target browsing context for window.open() with control modifier key

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

People

(Reporter: saschanaz, Unassigned)

References

(Blocks 3 open bugs)

Details

Attachments

(1 file, 1 obsolete file)

The spec says:

If there is a user agent that supports control-clicking a link to open it in a new tab, and the user control-clicks on an element whose onclick handler uses the window.open() API to open a page in an iframe element, the user agent could override the selection of the target browsing context to instead target a new tab.

Currently Chrome implements this behavior.

Attached file testcase.html

This example shows different behavior for clicking and control-clicking on Chrome.

Severity: -- → S3
Attachment #9381401 - Attachment is obsolete: true
See Also: → 1914326
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: