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 11306 - Selector grouping triggers buggy color warnings
Summary: Selector grouping triggers buggy color warnings
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 2.1 (show other bugs)
Version: CSS Validator
Hardware: PC Linux
: P2 major
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: 2010-11-11 21:50 UTC by saasha.m
Modified: 2012-09-21 14:35 UTC (History)
1 user (show)

See Also:


Attachments

Description saasha.m 2010-11-11 21:50:59 UTC
Begining from

http://jigsaw.w3.org/css-validator/#validate_by_input+with_options

and choosing to show all warnings and filling the form with the following three lines of CSS code

#s {background-color: #330; color: #fff; }

#v {background-color: #999; color: #000; }

#s, #v {text-align: center; }

often (but not always !) triggers one (or two) color warning(s) such as:

URI : TextArea

1 #s 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.

Pressing the back-button in the browser and making a new try often changes the number of warnings.

When testing with the last line removed, no warning is shown.

I've tried several web browsers and different language settings, but the problem remains.