[Webkit-unassigned] [Bug 69619] [Chromium] select box dropdown list backgound colour error
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 10 07:45:27 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=69619
Vineet Chaudhary (vineetc) <rgf748 at motorola.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rniwa at webkit.org,
| |tkent at chromium.org
--- Comment #6 from Vineet Chaudhary (vineetc) <rgf748 at motorola.com> 2011-10-10 07:45:27 PST ---
There is inconsistent chromium behavior for this test case as, this issue is not reproducible on chromium-windows.
After debugging through code below are few observations:
1) In RenderMenuList::itemBackgroundColor() this function there is if checks as (line 475):
// If the item has an opaque background color, return that.
if (!backgroundColor.hasAlpha())
return backgroundColor;
Whenever background-color is not specified for option element it always returns after above statement because backgroundColor has values like m_color = 4294440951 (looks white color) and alpha() == 255.
I think HTMLOptionElement should take/inherit the background-color from the HTMLSelectElement.
Please let me know any thoughts on this.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list