Bug 9600 - native <select size=1> control should allow basic font-style changes allowed by NSMenu
Summary: native <select size=1> control should allow basic font-style changes allowed ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Macintosh OS X 10.4
: P3 Enhancement
Assignee: Nobody
Depends on: 9846
  Show dependency treegraph
Reported: 2006-06-26 04:48 PDT by Timothy Hatcher
Modified: 2011-08-10 16:06 PDT (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Timothy Hatcher 2006-06-26 04:48:08 PDT
The new select control should allow font styles and decorations (like font size, color, bold, italic and underline) in the popup menu. This would allow for more rich content and let developers leverage this control more. You could allow mixed images and background colors also.

NSMenu allows all of this now by accepting attributed strings for the NSMenuItem titles.

Here is an example:

<option><b>Cool Option</b></option>
<option style="font-size: 14px; font-weight: bold; color: red">Test <em>Option</em></option>

See bug 9599 for a simplier request to just allow icons.
Comment 1 fabrice 2007-02-06 12:32:13 PST
Forgot to mention that this bug is recent. I do not try each webkit build (may be one out of ten? Frankly I don't know) but I'm pretty sure that this bug wasn't here some times ago...

Comment 2 fabrice 2007-02-06 12:36:26 PST
Sorry this post wasn't for this thread!...
Stupid me!
Sorry again...