|
Non-activated default buttons prevent implicit form submission.
Follow the spec and two other implementations (Gecko + Presto), and do
not allow implicit form submission if the default (submit) button is
not in an activated state (read: disabled.)
Notice that this switches to behavior different from what Trident / IE
provides.
R=eseidel,tkent
BUG= 37402
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162095
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+35 lines, -24 lines) |
Patch |
|
M |
LayoutTests/fast/forms/implicit-submission.html
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/forms/implicit-submission-expected.txt
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
LayoutTests/platform/win/fast/forms/implicit-submission-expected.txt
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLButtonElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLButtonElement.cpp
|
View
|
1
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLFormControlElement.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLFormControlElement.cpp
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLFormElement.cpp
|
View
|
|
1 chunk |
+13 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLInputElement.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLInputElement.cpp
|
View
|
|
1 chunk |
+2 lines, -4 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|