Bug 13866 - Padding ignored on new <select> control
Summary: Padding ignored on new <select> control
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2007-05-24 15:35 PDT by Elliott Sprehn
Modified: 2022-07-07 12:28 PDT (History)
4 users (show)

See Also:


Attachments
Test Case (590 bytes, text/html)
2007-05-24 15:51 PDT, Elliott Sprehn
no flags Details
Workaround (17.45 KB, text/html)
2011-01-18 22:36 PST, Elliott Sprehn
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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>