Re: Redefinition warning in CSS validator report

Darren Lewin-Hill <dlewinhill@optusnet.com.au> asked:

>> My stylesheet validated with no errors, but lots of warnings about
'redefinition'.

<snip>

>>Also, does 'Level: 2' in this warning refer to the seriousness of the
problem?


Hi, Darren..

Through the "redefinition" warning, the Validator's letting you know that
somewhere in your style sheet, there's a duplicate definition. I've
experienced the same.. :)

An example would be where one has defined both "border" and
"border-right-color". The Validator could read that as a duplicate
definition. Another example would be just accidentally twice specifically
defining "border-right-color", either in the very same line of code or
further down in one's style sheet..

Regarding the levels of warning, I've wondered the same.. Just tried a quick
peek but didn't come up with anything. Have noticed, though, that the levels
very definitely progress with how much my first choice of definition will
adversely effect the display of my own webpages when I have received the
same..

The warnings are *very much* worth heeding, regardless of level, because
they could affect the display of one's content, many times and in particular
if the end user is using a personalized style sheet of their own.

Quick example there would be the transparent background-color warning that
has come up in the past. Should an end user pick, say blue as their own
default background color and white for their font color display then block
all graphic downloads, a webpage defining main content with a
background-color of transparent and color definition of blue while relying
on a very light image for background contrast might not, very likely would
not, display..

The transparent background-color would default to the end user's blue, thus
presenting blue on blue.. Heeding the "transparent" warning by changing the
transparent definition to something like white closer guarantees universal
display of one's webpage under most, if not ultimately all, conditions.

HTH.. :)

Cindy


< - :: - >
Six. Almost Seven..
CPS, Georgia : GVTC, 2005
Disability Advocates' Calendar



----- Original Message -----
From: Darren Lewin-Hill <dlewinhill@optusnet.com.au>
To: <www-validator-css@w3.org>
Sent: Saturday, January 14, 2006 4:27 PM
Subject: Redefinition warning in CSS validator report

Received on Sunday, 15 January 2006 21:03:12 UTC