WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
13575
Change of default colors for CSS2.1 system colors
https://bugs.webkit.org/show_bug.cgi?id=13575
Summary
Change of default colors for CSS2.1 system colors
Peter Müller
Reported
2007-05-03 08:59:22 PDT
This patch changes the hardcoded colors from the current values which cause color conflicts on Menu, Info and Highlight items, effectively making these items unreadable because background and text color are identical. While this patch does not implement the fetching of colors from the OS via AppKit or similar, it does provide some sane color values based partially on Aqua and adaption to how the system colors degrade relative to the main colors on MS Windows. A testcase is available at
http://fumle.dk/colortest.php
where the topmost link switches the styling between using system colors and a hardcoded scheme equal to the one submitted in this patch. The test tries to use all colors which have semantic bindings, like all shadows and highlights for ThreeDFace, Menu, Hightlight etc. This change will enable webdevelopers to use system colors and get an acceptable result for Safari without adding a browser specific stylesheet to their site or application. This fix relates partially to
bug #6129
, but deviates from the recommended colors in that testcase because the submitter apparently hadn't done any comparison on how the result in safari would compare to other browsers.
Attachments
CSS 2.1 System color correction patch
(3.10 KB, patch)
2007-05-03 09:02 PDT
,
Peter Müller
hyatt
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Peter Müller
Comment 1
2007-05-03 09:02:39 PDT
Created
attachment 14319
[details]
CSS 2.1 System color correction patch
Dave Hyatt
Comment 2
2007-05-07 22:05:52 PDT
Comment on
attachment 14319
[details]
CSS 2.1 System color correction patch Ultimately these should be implemented by the RenderTheme instead (system fonts are done through it, and system colors should be too).
Mark Rowe (bdash)
Comment 3
2007-05-09 01:10:31 PDT
Landed in
r21328
.
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