Bug 9762 - [Native pop up] Highlighted item text is black instead of white
Summary: [Native pop up] Highlighted item text is black instead of white
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Adele Peterson
URL: data:text/html,<select%20style="-webk...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-06 13:02 PDT by mitz
Modified: 2006-07-06 19:24 PDT (History)
1 user (show)

See Also:


Attachments
Screen shot (3.86 KB, image/png)
2006-07-06 13:02 PDT, mitz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2006-07-06 13:02:25 PDT
Open the URL and click the pop up menu. The text of the highlighted item (the one with the dark background) should be white. Instead, it remains black like when it's not highlighted (see screenshot).

Setting the foregroung color attribute of the menu title disables the default highlighting behavior. Consider not setting the attribute if the item's color is black (or inherited?), or find a way to control the highlighting behavior even with custom colors.
Comment 1 mitz 2006-07-06 13:02:54 PDT
Created attachment 9237 [details]
Screen shot
Comment 2 Adele Peterson 2006-07-06 19:23:52 PDT
Filed new bug about the colored options problem.  But the basic case where black turns to white when highlighted, is now fixed.
Comment 3 Adele Peterson 2006-07-06 19:24:25 PDT
http://bugzilla.opendarwin.org/show_bug.cgi?id=9769
Colored options in new popup control may need to change color when highlighted