Bug 11858
Summary: | REGRESSION (r17597): Command-clicking a submit button does not submit in a new tab/window | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | DOM | Assignee: | Darin Adler <darin> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | darin, dev+webkit |
Priority: | P1 | Keywords: | InRadar, Regression |
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | data:text/html,%3Cform%3E%3Cinput%20type=%22submit%22%3E%3C/form%3E |
mitz
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
See bug 3638 for a case where the expected behavior is for the modifier state to be ignored!
Darin Adler
I think I'll be able to fix this without re-breaking bug 3638.
Darin Adler
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.
Darin Adler
<rdar://problem/4889565> REGRESSION (r17597): Command-clicking a submit button does not submit in a new tab/window
Darin Adler
Committed revision 18293.
Darin Adler
<rdar://problem/4889565> REGRESSION (r17597): Command-clicking a submit button does not submit in a new tab/window
Darin Adler
<rdar://problem/4860067> REGRESSION: Command-return no longer opens submitted form in new window (11858)