<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2421</bug_id>
          
          <creation_ts>2005-10-27 21:06:40 +0000</creation_ts>
          <short_desc>Warning for no background with color when background declared.</short_desc>
          <delta_ts>2007-09-26 12:32:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSSValidator</product>
          <component>CSS 1.0</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.jabcreations.com/temp/xhtml/home/home-news.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="John A. Bilicki III">jab_creations</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6941</commentid>
    <comment_count>0</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2005-10-27 21:06:40 +0000</bug_when>
    <thetext>A warning is given that there is no declared background when a color is declared
regardless of the fact that a background is indeed declared!  It is declared as
transparent!  To the best of my knowledge background: transparent; is valid CSS.
 It also keeps hovered tree like css menus on my new site layout staying blue
(versus black) to give a nice visual of the hierarchy of the menu system.

So warnings should not pop up for no background declaration if the background is
declared (regardless of it&apos;s value so long of course as it is valid).

Here is the CSS url...
http://www.jabcreations.com/temp/xhtml/themes/theme-city_w3c.css
(this file will not be modified during development versus the file
theme-city.css will probally be modified and may contain temp. errors or other
unrelated warnings.

There are no other warnings or errors in this css file (and the xhtml pages all
validate just fine).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6949</commentid>
    <comment_count>1</comment_count>
    <who name="Robin Liang">robinl.cfso1751</who>
    <bug_when>2005-10-28 10:46:17 +0000</bug_when>
    <thetext>I agree. We should not get a not-valid CSS just because not having a
background-color which in many cases are defined using background images from a
higher level.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8238</commentid>
    <comment_count>2</comment_count>
    <who name="reisio">w3</who>
    <bug_when>2006-02-11 06:29:52 +0000</bug_when>
    <thetext>@John
While it&apos;s not explicitly worded, I gather the meaning is roughly equivalent to
&quot;you have no _color_ specified&quot;, not &quot;you have no _value_ specified&quot;.  After
all, &quot;transparent&quot; is not a color (and according to the spec, it&apos;s not even a
&apos;value&apos;, but a &apos;keyword&apos;), and using it does not get around the possible problem
the warning is designed to warn you about (that you possibly will not be able to
easily read the text).

@Robin
It doesn&apos;t say it&apos;s not valid - in fact it says it &quot;validates&quot; - it merely lists
&quot;warnings&quot; (not &quot;errors&quot;) which _could_ cause problems.

The statement could be reworded to leave less room for confusion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8240</commentid>
    <comment_count>3</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2006-02-11 18:24:25 +0000</bug_when>
    <thetext>This is the reference I&apos;m going with...
http://www.w3.org/TR/css3-color/#transparent

According to this since CSS1, &quot;transparent&quot; has been a valid background value.

So it is a valid value and I am assuming the validator is intended to validate
against the level of CSS/(X)HTML...though there is no way I am aware of
declaring the level of CSS...that is declared or in the case of CSS - used.

If it is a valid value (regardless of it&apos;s type) then there should be no warning.

So the warning is an error as it fails to recognize the valid value.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8247</commentid>
    <comment_count>4</comment_count>
    <who name="reisio">w3</who>
    <bug_when>2006-02-13 18:08:28 +0000</bug_when>
    <thetext>Again, the warning is about something that requires an opaque color to be
satisfied.  The entire purpose of the warning is screwed over if you allow
&apos;transparent&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8489</commentid>
    <comment_count>5</comment_count>
    <who name="John A. Bilicki III">jab_creations</who>
    <bug_when>2006-02-28 17:36:53 +0000</bug_when>
    <thetext>Where does it say opaque color needs to be &quot;satisfied&quot;? Elements have their
background set to transparent by default. So by your argument you should spam
everything in the validator that does not declare any background color whatsoever.

There simply is no reason to warn the webmaster that there is no background
color set when the webmaster has EXPLICITLY set the background to transparent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9101</commentid>
    <comment_count>6</comment_count>
    <who name="Margaret">arnoldmars</who>
    <bug_when>2006-04-10 03:14:36 +0000</bug_when>
    <thetext>STUCK!  A HREF tags... I need transparent as background-color or else, I have to write lots of separate lines for a href tags that falls on different background colors which are so many!  ;-(</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>9612</commentid>
    <comment_count>7</comment_count>
    <who name="Peter Bunyan">peter.bunyan</who>
    <bug_when>2006-05-05 18:56:21 +0000</bug_when>
    <thetext>What I find annoying is that inline elements with a colour have a warning when no background is set - inline elements should be transparent by default - adding a background colour may obscure background text. Why should I have to copy and paste &apos;background: transparent&apos; for elements that have a transparent background by default?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15819</commentid>
    <comment_count>8</comment_count>
    <who name="Olivier Thereaux">ot</who>
    <bug_when>2007-07-17 06:54:27 +0000</bug_when>
    <thetext>Ditto Bug #768: we moved the &quot;level&quot; of this warning to the lowest level, amongst other warnings of potential accessibility issues. 

I think this is the closest we can get to consensus. 

Moving to [close] this bug.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>