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).
Created attachment 14709 [details] Test Case
Confirmed with a local debug build of WebKit r21707 with Safari 2.0.4 (419.3) on Mac OS X 10.4.9 (8P135).
Downstream bug http://code.google.com/p/chromium/issues/detail?id=69986
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.
I assume this is a PLATFORM(MAC) only bug? Its up to the RenderTheme as to if it wants to honor padding, correct?
This is certainly true on Safari, but might be by design to follow HI guidelines.
<rdar://problem/96617425>