Bug 10034

Summary: font-size applied to <option> differently from how it is applied to <select>
Product: WebKit Reporter: mitz
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: adele, me
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

mitz
Reported 2006-07-20 14:09:09 PDT
The font-size property for <select> is used only to select one of the standard control sizes, but when it is specificed for (or inherited by) <option> elements, it translates directly to font size. The result is that the pop-up menu is much bigger (and wider) than the control. I think the same "normalization" that applies to <select> should apply to <option>, at last when the font size is inherited from the <select>.
Attachments
mitz
Comment 1 2006-07-20 15:10:45 PDT
Quoth Adele on IRC: "its probably a bug then- at least for the mac platform.  In theory, on other platforms, the control will be more like the FF control".
Note You need to log in before you can comment on or make changes to this bug.