|
[Element / Autofill] Add boundsInViewportFloat() to fix <input> popup misalignment.
For <input> elements with fractional x value, the autocomplete popup
location is mismatched with <input> element. To fix this, we:
1. Add Element::boundsInViewportFloat() to compute a more precise
bounds for the <input> element, to be passed to popup rendering.
2. Fix popup rendering to round the received bounds in a way that's
consistent with <input> element's location.
BUG= 529867
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+210 lines, -40 lines) |
Patch |
 |
M |
chrome/browser/ui/autofill/popup_controller_common.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/autofill_agent.cc
|
View
|
1
|
2 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/password_autofill_agent.cc
|
View
|
1
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
components/autofill/content/renderer/password_generation_agent.cc
|
View
|
1
|
2 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/render_view.h
|
View
|
1
|
2 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_instance_impl.cc
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_view_impl.cc
|
View
|
1
|
2 chunks |
+12 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_widget.cc
|
View
|
|
3 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/Element.h
|
View
|
1
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/dom/Element.cpp
|
View
|
1
|
2 chunks |
+25 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameView.h
|
View
|
|
6 chunks |
+19 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/frame/FrameView.cpp
|
View
|
|
5 chunks |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/input/EventHandler.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/Widget.h
|
View
|
|
4 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/Widget.cpp
|
View
|
|
3 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/scroll/ScrollableArea.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/scroll/Scrollbar.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/platform/scroll/Scrollbar.cpp
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/web/WebElement.cpp
|
View
|
1
|
2 chunks |
+8 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/web/WebElement.h
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
Total messages: 12 (3 generated)
|