This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6584 - CSS Validator Bug: Warning to set color even if it set
Summary: CSS Validator Bug: Warning to set color even if it set
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: Macintosh MacOS X
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-16 09:12 UTC by Michael Roessner
Modified: 2012-09-21 08:35 UTC (History)
4 users (show)

See Also:


Attachments

Description Michael Roessner 2009-02-16 09:12:43 UTC
Hello,

The CSS Validator give me some warnings (Set color if you have background-color). I have this, but anyway the Validator give these warnings out:

See it here:

http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.retrax.de%2FCSS%2Fretrax.css&profile=css3&usermedium=all&warning=2&lang=de


Thanks for fixing that.
Comment 1 Olivier Thereaux 2009-02-16 14:23:06 UTC
Hi Michael, thanks for the bug report.

Additional note:
No warning in CSS21 profile. This seems to point to brokenness of color parsing in CSS3 profile.
Comment 2 Rafał Wrzeszcz 2009-03-21 11:52:57 UTC
I confirm, this is CSS3-only problem. Very easy to reproduce as:

body
{
    background-color: #000000;
    color: #ffffff;
}

By "direct upload" method - turning warnings to "All" and profiles as "CSS level 3". CSS 2.1 gives no warning, CSS 3 gives:

> You have no color set (or color is set to transparent) but you have set a background-color. Make sure that cascading of colors keeps the text reasonably legible.
Comment 3 Gérard Talbot 2009-05-20 20:59:29 UTC
Hello all,

I confirm this bug and the fact that it is a CSS3-profile-only problem. 
This bug is annoying.

Please note that this bug would be easier to search & find if the Hardware (or Platform) field was set to all and not to Macintosh and if OS field was set to all and not to MacOS X.

regards, Gérard