|
Mouse press should focus on any types of form controls.
In WebKit, form controls except text fields and <select> are not
mouse-focusable. IE, Firefox, and Opera(Presto) don't have such behavior
and they set focus by mouse press. We follow non-WebKit browsers.
The main part of this CL is to remove
HTMLFormControlElement::isMouseFocusable. It means we use
Node::isMouseFocusable, which is just isFocusable. We can remove many
isMouseFocusable implementations of HTMLFormControlElement
subclasses.
Test changes:
- Remove fast/events/click-focus-control.html because now it is covered
by existing and new tests.
- Need rebaseline for some tests. They contain focused form controls.
BUG= 89708
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+98 lines, -161 lines) |
Patch |
 |
M |
LayoutTests/TestExpectations
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/events/click-focus-control.html
|
View
|
|
1 chunk |
+0 lines, -90 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/events/click-focus-control-expected.txt
|
View
|
|
1 chunk |
+0 lines, -9 lines |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/forms/button/button-reset-focus-by-mouse.html
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/forms/button/button-reset-focus-by-mouse-expected.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse.html
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/forms/checkbox/checkbox-focus-by-mouse-expected.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/forms/datalist/update-range-with-datalist-expected.html
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/forms/radio/radio-focus-by-mouse.html
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/forms/radio/radio-focus-by-mouse-expected.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/forms/range/range-focus-by-mouse.html
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/forms/range/range-focus-by-mouse-expected.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
A |
LayoutTests/fast/forms/submit/submit-focus-by-mouse.html
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
LayoutTests/fast/forms/submit/submit-focus-by-mouse-expected.txt
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/BaseChooserOnlyDateAndTimeInputType.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/BaseChooserOnlyDateAndTimeInputType.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/BaseMultipleFieldsDateAndTimeInputType.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/BaseMultipleFieldsDateAndTimeInputType.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/HTMLFormControlElement.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/HTMLFormControlElement.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/HTMLInputElement.h
|
View
|
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/HTMLInputElement.cpp
|
View
|
|
1 chunk |
+0 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/HTMLSelectElement.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/HTMLSelectElement.cpp
|
View
|
|
1 chunk |
+0 lines, -7 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/HTMLTextAreaElement.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/HTMLTextAreaElement.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/InputType.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/InputType.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/TextFieldInputType.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/WebCore/html/TextFieldInputType.cpp
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
Total messages: 24 (0 generated)
|