[Webkit-unassigned] [Bug 69619] [Chromium] select box dropdown list backgound colour error

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 12 03:18:50 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=69619





--- Comment #17 from Vineet Chaudhary (vineetc) <rgf748 at motorola.com>  2011-10-12 03:18:50 PST ---
(In reply to comment #16)
> > Source/WebCore/css/themeChromiumLinux.css:40
> > -    background-color: #f7f7f7;
> > +    background-color: rgba(247,247,247,0);

> I don't think this is correct at all.
> Why is it reasonable to make <option> transparent by default?
> You have to find a real reason of the regression, and fix it.

I agree having <option> transparent by default is wrong but we set bgColor to #f7f7f7 ie. alpha as 1 then,
   if (!backgroundColor.hasAlpha())
        return backgroundColor;
this check will always pass n return and we wont be able set option elements color then.

Another approach we can do is in PopupListBox::paintRow(). Check for
backColor = m_popupClient->style()->visitedDependentColor(CSSPropertyBackgroundColor).blend(backgroundColor);

instead of backColor = style.backgroundColor();

//If you don't mind may I ping you on IRC?

> I understand this is expected color for other browsers.  How about Safari/Windows and Chromium/Windows?

Also for both Safari/Windows and Chromium/Windows expected color is black and blue.

-- 
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