[chromium] Reduce padding on popup menu entries when used on a touch screen.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Aug 2012 23:02:52 +0000 (23:02 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 24 Aug 2012 23:02:52 +0000 (23:02 +0000)
commit3a68950001753176f3d3224fbec88b4f24adaf6e
treea6167740e3c109d29d0ab4d9a2e2f4e6bdf2557c
parent5c524795509a89040ecdf1ed84cfb559678377a1
[chromium] Reduce padding on popup menu entries when used on a touch screen.
https://bugs.webkit.org/show_bug.cgi?id=94953

Patch by Kevin Ellis <kevers@chromium.org> on 2012-08-24
Reviewed by Adam Barth.

Prior to the patch, the height of entries in a popup menu was 44px,
which is excessive.  Reduced the padding to make the menu entries
30px tall to match the wrench menu.

No new tests required.

* platform/chromium/PopupMenuChromium.cpp:
(WebCore):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@126643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/chromium/PopupMenuChromium.cpp