WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
29652
RenderThemeChromiumWin should use true system colors for CSS system colors
https://bugs.webkit.org/show_bug.cgi?id=29652
Summary
RenderThemeChromiumWin should use true system colors for CSS system colors
Peter Kasting
Reported
2009-09-22 14:17:50 PDT
Right now we fall back to the default hardcoded values in RenderTheme. This means that e.g. the search buttons on google.com (which have recently changed to using CSS system colors) are illegible in white-on-black system themes. RenderThemeWin.cpp has some appropriate-looking code, so the fix is easy: copy it.
Attachments
patch v1
(3.94 KB, patch)
2009-09-22 14:19 PDT
,
Peter Kasting
levin
: review+
levin
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Peter Kasting
Comment 1
2009-09-22 14:19:13 PDT
Created
attachment 39944
[details]
patch v1
David Levin
Comment 2
2009-09-22 14:41:35 PDT
Comment on
attachment 39944
[details]
patch v1 Two minor nits to fix up on landing.
> Index: WebCore/rendering/RenderThemeChromiumWin.cpp > =================================================================== > +// Map a CSSValue* system color to an index understood by GetSysColor
Please add a period to the end of the sentence.
> +static int cssValueIdToSysColorIndex(int cssValueId) > +{ > + switch (cssValueId) { > + case CSSValueActiveborder: return COLOR_ACTIVEBORDER;
A case label should line up with its switch statement (see
http://webkit.org/coding/coding-style.html
)
Eric Seidel (no email)
Comment 3
2009-09-22 14:53:35 PDT
Comment on
attachment 39944
[details]
patch v1 Looks sane to me too. Dave just beat me!
Peter Kasting
Comment 4
2009-09-22 15:05:40 PDT
Both comments addressed and patch landed in
r48652
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug