Bug 9846

Summary: [Mac] Need support for cssĀ color and background-color properties on select element's dropdown list
Product: WebKit Reporter: Chris Petersen <c.petersen87>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: akeerthi, hamdrew, info, info, julien_dumont, kangax, m.spindelhirn, syoichi, webkit, zherczeg
Priority: P2 Keywords: InRadar
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Bug Depends on:    
Bug Blocks: 9600    
Attachments:
Description Flags
screen shot fron hotels.com
none
background-color test case none

Description Chris Petersen 2006-07-11 00:57:31 PDT
We need to support background-color property on native popup (select) menus. Hotels.com does use thebackground-colorĀ  property on their web site for select elements (see screen shot)

I have created a small reduction of the page which uses the two CSS rules:

style="background-color: rgb(204, 0, 0); color: rgb(255, 255, 255);"

The text appears as white on the native popup (correct) but background-color is ignored (bad).
This test case renders correctly in Mac FF 1.5.0.4.
Comment 1 Chris Petersen 2006-07-11 00:58:12 PDT
Tested with NB r15320.
Comment 2 Chris Petersen 2006-07-11 00:59:54 PDT
Created attachment 9360 [details]
screen shot fron hotels.com
Comment 3 Chris Petersen 2006-07-11 01:01:24 PDT
Created attachment 9361 [details]
background-color test case
Comment 4 Adele Peterson 2006-08-15 13:08:54 PDT
repurposing this bug to represent the work for both color and background-color, since we need to do both at once so the popup menus don't look weird.
Comment 5 Timothy Hatcher 2007-01-29 14:25:49 PST
This is a dupe or related to bug 9600.
Comment 6 Timothy Hatcher 2007-01-29 14:26:56 PST
<rdar://problem/4894331>
Comment 7 Timothy Hatcher 2007-01-29 14:29:35 PST
Related: bug 9769 and bug 9762
Comment 8 Robert Blaut 2007-11-24 08:28:09 PST
This bug is probably fixed.
Comment 9 kangax 2009-06-12 08:27:13 PDT
Looks like WebKit still doesn't support this (as of rev. 44591). Our application uses dropdowns of two types - one with options of different "background-color"; another - with options of different "background-image", where value of background-image is data url. "background-color" works in at least Firefox (3.x) and Opera (10b).

Could someone give an update on the status of this ticket? Are there plans on implementing it?

Thank you.
Comment 10 qt-info 2009-12-10 02:31:44 PST
This is a general issue, not only happens on MAC.
Comment 11 Moritz Spindelhirn 2010-06-08 10:48:14 PDT
Can someone make a comment to this ?

I think at least the properties named in the titel should work ...
Comment 12 Julien Dumont 2010-06-23 01:17:05 PDT
This bug is still not fixed, and impact all webkit version.
Somebody can handle it because there is nothing on it since very very long time ... ?

Thanks 

Julien
Comment 13 Andrew Benton 2010-08-13 08:56:25 PDT
Is anybody actually working on this? Seems like a quick fix wouldn't be that hard and the bug's been around for four years?!
Comment 14 Julien Dumont 2010-08-16 01:54:21 PDT
No news on it ...
Another issue seems to be related to this one, and there is no reply on it since 2007 ...

https://bugs.webkit.org/show_bug.cgi?id=13834
Comment 15 Zoltan Herczeg 2011-08-09 23:59:29 PDT
Works for me on QtWebKit. Shall I close this bug?
Comment 16 Julien Dumont 2011-08-10 00:10:48 PDT
(In reply to comment #15)
> Works for me on QtWebKit. Shall I close this bug?


It's working for me too but only from QT 4.8 beta version.
QT.4.7.X version still seems to be impacted. 

I think maybe it will better to close this bug only when the offical Qt 4.8 version will be release, if you agree of course :)

Cheers,

Julien
Comment 17 Alexey Proskuryakov 2011-08-10 16:06:25 PDT
This is a bug about Mac OS X port, filed long before Qt WebKit port was even started. Please don't close it because of Qt changes.
Comment 18 Alexey Proskuryakov 2011-10-07 08:51:33 PDT
*** Bug 69619 has been marked as a duplicate of this bug. ***
Comment 19 dstockwell 2012-06-27 22:00:57 PDT
*** Bug 83932 has been marked as a duplicate of this bug. ***