Bug 57089

Summary: needs option "force my colours when page lacks foreground colour"
Product: [Websites] docs.kde.org Reporter: Autumn <kde>
Component: Missing ContentAssignee: Documentation Editorial Team <kde-doc-english>
Status: RESOLVED DUPLICATE    
Severity: wishlist    
Priority: NOR    
Version: 0.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Autumn 2003-04-10 14:57:04 UTC
Version:           4.0 (using KDE 3.1.1)
Installed from:     (testing/unstable)
Compiler:          gcc version 3.2.3 20030309 (Debian prerelease)
OS:          Linux (i686) release 2.4.20

Many web pages specify a text color XOR a background color.  They become impossible to read with a dark-background theme (necessary if, for example, you suffer from eyestrain).

In those cases, only the missing colour is supplied by the theme.  I would like an option to force the page to use ALL of my colours, but only when at least one is unspecified.

An alternative would be a heuristic to enforce a minimum contrast level between foreground and background.
Comment 1 Autumn 2004-05-12 00:34:50 UTC
As an example, set your theme to "white on black," and visit the following page:

http://www.travelocity.ca/

Note that all of the form fields are black text on a black background.  Somewhat difficult to read.  This is a common problem!
Comment 2 Stephan Kulow 2004-05-12 14:33:50 UTC
you don't need that. Define a custom stylesheet and use
body { color: black; background-color: white }
Comment 3 Stephan Kulow 2004-11-23 10:43:09 UTC

*** This bug has been marked as a duplicate of 47320 ***