[Bug 3424] Warnings are duplicated wrongly when multiple classes are given formatting

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3424

           Summary: Warnings are duplicated wrongly when multiple classes
                    are given formatting
           Product: CSSValidator
           Version: CSS Validator
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Other
        AssignedTo: ot@w3.org
        ReportedBy: paranoidgeek@gmail.com
         QAContact: www-validator-cvs@w3.org


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'm not using
the right terminology for this ), but uses the same name ( rlt_l_b ) for both
warnings.

Wouldn't the expected behavior be to either give just one warning or give one
for each class, not twice for one of the classes ?

Received on Wednesday, 5 July 2006 03:27:26 UTC