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: Mac OS X 10.4
: P3 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on: 9846
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-26 04:48 PDT by Timothy Hatcher
Modified: 2022-04-12 14:58 PDT (History)
5 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
Comment 3 Alexey Proskuryakov 2022-04-12 14:58:09 PDT
*** Bug 239033 has been marked as a duplicate of this bug. ***