Bug 11858 - REGRESSION (r17597): Command-clicking a submit button does not submit in a new tab/window
Summary: REGRESSION (r17597): Command-clicking a submit button does not submit in a ne...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Darin Adler
URL: data:text/html,%3Cform%3E%3Cinput%20t...
Keywords: InRadar, Regression
Depends on:
Blocks:
 
Reported: 2006-12-17 09:34 PST by mitz
Modified: 2007-01-15 14:47 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2006-12-17 09:34:38 PST
Command-clicking a form's submit button behaves like a normal click and submits in the same frame instead of submitting in a new tab or window. To see this, open the URL and command-click the Submit button.

See also bug 11628.
Comment 1 mitz 2006-12-17 09:50:55 PST
See bug 3638 for a case where the expected behavior is for the modifier state to be ignored!
Comment 2 Darin Adler 2006-12-18 12:06:54 PST
I think I'll be able to fix this without re-breaking bug 3638.
Comment 3 Darin Adler 2006-12-18 13:07:14 PST
Just need to pass the correct underlying event in EventTargetNode::dispatchMouseEvent, which fixes this without breaking bug 3638. I still need layout tests for both bugs, and I really want to copy this one into Radar, but otherwise ready to go.
Comment 4 Darin Adler 2006-12-18 14:06:36 PST
<rdar://problem/4889565> REGRESSION (r17597): Command-clicking a submit button does not submit in a new tab/window
Comment 5 Darin Adler 2006-12-18 18:44:03 PST
Committed revision 18293.
Comment 6 Darin Adler 2007-01-15 14:47:30 PST
<rdar://problem/4889565> REGRESSION (r17597): Command-clicking a submit button does not submit in a new tab/window
Comment 7 Darin Adler 2007-01-15 14:47:55 PST
<rdar://problem/4860067> REGRESSION: Command-return no longer opens submitted form in new window (11858)