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

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

Issue 230193002: Spin button in input[type=number] should not ignore paddings. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | « Source/core/rendering/RenderTextControlSingleLine.cpp ('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 8bc1a6068761495de414c0996d6e322e2223e6b4..0a3a3a895fc4f5ba315e72a496750cd3fcdbfa7c 100644
--- a/Source/platform/mac/ThemeMac.mm
+++ b/Source/platform/mac/ThemeMac.mm
@@ -493,9 +493,9 @@ static const IntSize* stepperSizes()
static NSControlSize stepperControlSizeForFont(const FontDescription& fontDescription)
{
int fontSize = fontDescription.computedPixelSize();
- if (fontSize >= 18)
+ if (fontSize >= 27)
return NSRegularControlSize;
- if (fontSize >= 13)
+ if (fontSize >= 22)
return NSSmallControlSize;
return NSMiniControlSize;
}
« no previous file with comments | « Source/core/rendering/RenderTextControlSingleLine.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698