|
CSS4: Implement :placeholder-shown pseudo class
The changes include
1) Refactoring HTMLTextFormControlElement to have an explicit visible placeholder state.
2) Adding support for :placeholder-shown pseudo class
Taken reference from webkit: trac.webkit.org/changeset/172826
BUG= 451120
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201702
Total comments: 34
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+727 lines, -25 lines) |
Patch |
|
M |
LayoutTests/fast/css/css-selector-text.html
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css/css-selector-text-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css/css-set-selector-text.html
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/css/css-set-selector-text-expected.txt
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/css/placeholder-shown-basics.html
|
View
|
1
2
3
4
|
1 chunk |
+107 lines, -0 lines |
2 comments
|
Download
|
|
A |
LayoutTests/fast/css/placeholder-shown-basics-expected.html
|
View
|
1
2
3
4
|
1 chunk |
+106 lines, -0 lines |
2 comments
|
Download
|
|
A |
LayoutTests/fast/selectors/placeholder-shown-sibling-style-update.html
|
View
|
1
2
3
4
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/selectors/placeholder-shown-sibling-style-update-expected.txt
|
View
|
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/selectors/placeholder-shown-style-update.html
|
View
|
1
2
3
4
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/selectors/placeholder-shown-style-update-expected.txt
|
View
|
1
2
3
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/selectors/placeholder-shown-with-input-basics.html
|
View
|
1
2
3
4
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/selectors/placeholder-shown-with-input-basics-expected.txt
|
View
|
|
1 chunk |
+39 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/selectors/placeholder-shown-with-textarea-basics.html
|
View
|
1
2
3
4
|
1 chunk |
+70 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/selectors/placeholder-shown-with-textarea-basics-expected.txt
|
View
|
|
1 chunk |
+42 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSSelector.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSSelector.cpp
|
View
|
1
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/RuleFeature.cpp
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/SelectorChecker.cpp
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/SharedStyleFinder.cpp
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLInputElement.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLInputElement.cpp
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTextAreaElement.h
|
View
|
1
2
3
4
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTextAreaElement.cpp
|
View
|
1
2
3
4
|
7 chunks |
+11 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTextFormControlElement.h
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/html/HTMLTextFormControlElement.cpp
|
View
|
1
2
3
4
|
5 chunks |
+16 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/core/html/forms/TextFieldInputType.cpp
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/inspector/InspectorTraceEvents.cpp
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/layout/LayoutTextControl.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/testing/Internals.cpp
|
View
|
1
2
3
4
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
Total messages: 18 (5 generated)
|