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
: WebKit
Forms
: 420+
: Macintosh Mac OS X 10.4
: P3 Enhancement
Assigned To:
:
:
: 9846
:
  Show dependency treegraph
 
Reported: 2006-06-26 04:48 PST by
Modified: 2011-08-10 16:06 PST (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2006-06-26 04:48:08 PST
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 From 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 From 2007-02-06 12:36:26 PST -------
Sorry this post wasn't for this thread!...
Stupid me!
Sorry again...

-Fabrice