[Webkit-unassigned] [Bug 39956] CSS: incorrect default text color for form elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 31 22:31:46 PDT 2010


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





--- Comment #5 from Shinichiro Hamaji <hamaji at chromium.org>  2010-05-31 22:31:46 PST ---
I played on my Windows with the following HTML:

<select style="color:captiontext"><option>foo</select>
<select><option>foo</select>

It seemed my default theme's captiontext is black and there were no difference between this two <select>s at first. However, after I changed my color theme to "High Contrast Black", the "foo" in the former <select> has disappeared. I think we might need to change the background color of <select>.

Also, I think we should use different system colors for different elements. Specifically,

- It seems <button> families have already had color:ButtonText and background-color:ButtonFace . I guess you can fix button's issue by setting ButtonFace properly in RenderThemeGtk.cpp ?
- We should use color:menutext and background-color:menu for <select> and <keygen> .
- I'm not sure, but I guess we should not specify the color for <textarea>, <input>, and <isindex> .

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