Bug 10034
Summary: | font-size applied to <option> differently from how it is applied to <select> | ||
---|---|---|---|
Product: | WebKit | Reporter: | mitz |
Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | adele, me |
Priority: | P2 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 |
mitz
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
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".