<?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>3424</bug_id>
          
          <creation_ts>2006-07-05 03:27:15 +0000</creation_ts>
          <short_desc>Warnings are duplicated wrongly when multiple classes are given formatting</short_desc>
          <delta_ts>2008-03-27 14:18:07 +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>Other</component>
          <version>CSS Validator</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Matthew Peterson">paranoidgeek</reporter>
          <assigned_to name="Olivier Thereaux">ot</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>10360</commentid>
    <comment_count>0</comment_count>
    <who name="Matthew Peterson">paranoidgeek</who>
    <bug_when>2006-07-05 03:27:15 +0000</bug_when>
    <thetext>Lets say i have the CSS :

.rlt_l_a, .rlt_l_b {
background : white;
}

It gives the warning 
Line : 105 (Level : 1) You have no color with your background-color : .rlt_l_b
Line : 105 (Level : 1) You have no color with your background-color : .rlt_l_b

Note how it gives two warning for the two classes ( pardon me if I&apos;m not using the right terminology for this ), but uses the same name ( rlt_l_b ) for both warnings.

Wouldn&apos;t the expected behavior be to either give just one warning or give one for each class, not twice for one of the classes ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19622</commentid>
    <comment_count>1</comment_count>
    <who name="Yves Lafon">ylafon</who>
    <bug_when>2008-03-27 14:18:07 +0000</bug_when>
    <thetext>Fixed for now, when several selectors are present for the same value set, the same value set was initialized with all the selectors instead of being duplicated. As a result, only the last selector was used in the property (see ascii art for an explication of the issue)
a b &lt;-
| |  |
V V  |
val---

Now the value set is duplicated, but works needs to be done to duplicate all composite values (CssBackgroundCSS2 done, but needs to be done for CSS1, and other composite ones, like CssBorder).

Changes in place on http://qa-dev.w3.org:8001/css-validator/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>