Bug 9600 - native <select size=1> control should allow basic font-style changes allowed by NSMenu
: native <select size=1> control should allow basic font-style changes allowed ...
Status: NEW
Product: WebKit
Classification: Unclassified
Component: Forms
: 420+
: Macintosh Mac OS X 10.4
: P3 Enhancement
Assigned To: Nobody
:
Depends on: 9846
Blocks:
  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:


Attachments

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:

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

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...

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

-Fabrice