Changeset 77716 in webkit
- Timestamp:
- Feb 4, 2011 6:19:43 PM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r77715 r77716 1 2011-02-04 Xiyuan Xia <xiyuan@chromium.org> 2 3 Reviewed by Tony Chang. 4 5 [Chromium] Option text in select popup does not align with menulist button text 6 https://bugs.webkit.org/show_bug.cgi?id=53632 7 8 This makes clientPaddingLeft and clientPaddingRight return 9 the additional m_innerBlock's padding so that the popup item text 10 aligns with the menulist button text. 11 12 * rendering/RenderMenuList.cpp: 13 (WebCore::RenderMenuList::clientPaddingLeft): 14 (WebCore::RenderMenuList::clientPaddingRight): 15 1 16 2011-02-04 Anders Carlsson <andersca@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderMenuList.cpp
r76983 r77716 487 487 int RenderMenuList::clientPaddingLeft() const 488 488 { 489 return paddingLeft() ;489 return paddingLeft() + m_innerBlock->paddingLeft(); 490 490 } 491 491 … … 503 503 // If the appearance isn't MenulistPart, then the select is styled (non-native), so 504 504 // we want to return the user specified padding. 505 return paddingRight() ;505 return paddingRight() + m_innerBlock->paddingRight(); 506 506 } 507 507
Note: See TracChangeset
for help on using the changeset viewer.