Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Unified Diff: third_party/WebKit/Source/web/PopupMenuImpl.cpp

Issue 2824123002: SELECT popup: Fix OPTGROUP rendering on a device with a touch-screen. (Closed)
Patch Set: remove padding-bottom Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-coarse-expected.png ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/PopupMenuImpl.cpp
diff --git a/third_party/WebKit/Source/web/PopupMenuImpl.cpp b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
index 5186a47f77fde5c402c122d0396ba40f4e8f9ce9..fcb0db78a39a26bfc7fdb06c66d47e5567de08ee 100644
--- a/third_party/WebKit/Source/web/PopupMenuImpl.cpp
+++ b/third_party/WebKit/Source/web/PopupMenuImpl.cpp
@@ -274,6 +274,8 @@ void PopupMenuImpl::WriteDocument(SharedBuffer* data) {
int min_height = static_cast<int>(roundf(24 * scale_factor));
PagePopupClient::AddString(String::Format("option, optgroup {"
"padding-top: %dpx;"
+ "}\n"
+ "option {"
"padding-bottom: %dpx;"
"min-height: %dpx;"
"display: flex;"
« no previous file with comments | « third_party/WebKit/LayoutTests/platform/linux/fast/forms/select-popup/popup-menu-appearance-coarse-expected.png ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698