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

Unified Diff: Source/platform/mac/ThemeMac.mm

Issue 778833003: Backport WebKit patch to fix input button paddings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update issue id Created 6 years 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 | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/mac/ThemeMac.mm
diff --git a/Source/platform/mac/ThemeMac.mm b/Source/platform/mac/ThemeMac.mm
index 5f2596fc0c27b0bed0d036d6655393e950dca8ec..a35aaeab206ecc69bee2f9cfbb7a4a1aacc943cb 100644
--- a/Source/platform/mac/ThemeMac.mm
+++ b/Source/platform/mac/ThemeMac.mm
@@ -659,7 +659,7 @@ LengthBox ThemeMac::controlPadding(ControlPart part, const FontDescription& font
// This also guarantees the HTML <button> will match our rendering by default, since we're using a consistent
// padding.
const int padding = 8 * zoomFactor;
- return LengthBox(0, padding, 0, padding);
+ return LengthBox(2, padding, 3, padding);
}
default:
return Theme::controlPadding(part, fontDescription, zoomedBox, zoomFactor);
« no previous file with comments | « LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698