Summary: | Padding ignored on new <select> control | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Elliott Sprehn <esprehn> | ||||||
Component: | Layout and Rendering | Assignee: | 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
Elliott Sprehn
2007-05-24 15:35:45 PDT
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. |