|
Replace HTMLTextFormControlElement::fixPlaceholderRenderer with an override of RenderTextControl::addChild
fixPlaceholderRenderer was used to rearrange the render tree to make sure that
the placeholder text was always first. It required a synchronous attach hook though
so isntead just teach RenderTextControl::addChild how to do this reordering. The hack
is still really ugly, but at least it's contained in one place.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156619
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+19 lines, -82 lines) |
Patch |
 |
D |
LayoutTests/fast/dom/shadow/shadowdom-for-textarea-with-placeholder.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -21 lines |
0 comments
|
Download
|
 |
D |
LayoutTests/fast/dom/shadow/shadowdom-for-textarea-with-placeholder-expected.html
|
View
|
1
2
3
|
1 chunk |
+0 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextAreaElement.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextAreaElement.cpp
|
View
|
1
2
|
3 chunks |
+3 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextFormControlElement.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLTextFormControlElement.cpp
|
View
|
1
2
|
1 chunk |
+0 lines, -18 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/TextFieldInputType.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/TextFieldInputType.cpp
|
View
|
1
2
|
2 chunks |
+3 lines, -13 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderTextControl.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/rendering/RenderTextControl.cpp
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|