Bug 13866

Summary: Padding ignored on new <select> control
Product: WebKit Reporter: Elliott Sprehn <esprehn>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, eric, priyajeet.hora, webkit-bug-importer
Priority: P2 Keywords: HasReduction, InRadar
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Test Case
none
Workaround none

Description Elliott Sprehn 2007-05-24 15:35:45 PDT
Padding is not honored on the new non-aqua <select> widget.

Reproducible in the latest nightly. (Thu May 24 0:06:11 GMT 2007, r21682).
Comment 1 Elliott Sprehn 2007-05-24 15:51:37 PDT
Created attachment 14709 [details]
Test Case
Comment 2 David Kilzer (:ddkilzer) 2007-05-24 22:37:29 PDT
Confirmed with a local debug build of WebKit r21707 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).

Comment 3 Darth 2011-01-18 20:48:35 PST
Downstream bug http://code.google.com/p/chromium/issues/detail?id=69986
Comment 4 Elliott Sprehn 2011-01-18 22:36:12 PST
Created attachment 79390 [details]
Workaround

Having revisited this bug tonight (because of the downstream comment email) a workaround occurred to me by making webkit style the control as a button and faking the non-aqua select box style. This turns out to work surprisingly well.

There's two issues with the workaround:
1. Open handle icon and divider don't respect font size
2. Open handle icon doesn't respect font color

The second issue is fixable by using a different background image. I can't think of any way around the first.
Comment 5 Eric Seidel (no email) 2012-07-17 11:47:53 PDT
I assume this is a PLATFORM(MAC) only bug?  Its up to the RenderTheme as to if it wants to honor padding, correct?
Comment 6 Brent Fulgham 2022-07-07 12:27:55 PDT
This is certainly true on Safari, but might be by design to follow HI guidelines.
Comment 7 Radar WebKit Bug Importer 2022-07-07 12:28:04 PDT
<rdar://problem/96617425>