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

Elliott Sprehn
Reported 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).
Attachments
Test Case (590 bytes, text/html)
2007-05-24 15:51 PDT, Elliott Sprehn
no flags
Workaround (17.45 KB, text/html)
2011-01-18 22:36 PST, Elliott Sprehn
no flags
Elliott Sprehn
Comment 1 2007-05-24 15:51:37 PDT
Created attachment 14709 [details] Test Case
David Kilzer (:ddkilzer)
Comment 2 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).
Darth
Comment 3 2011-01-18 20:48:35 PST
Elliott Sprehn
Comment 4 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.
Eric Seidel (no email)
Comment 5 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?
Brent Fulgham
Comment 6 2022-07-07 12:27:55 PDT
This is certainly true on Safari, but might be by design to follow HI guidelines.
Radar WebKit Bug Importer
Comment 7 2022-07-07 12:28:04 PDT
Note You need to log in before you can comment on or make changes to this bug.