[Bug 6090] New: Wrong normalization for value of background-position in validated output

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

           Summary: Wrong normalization for value of background-position in
                    validated output
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other
        AssignedTo: ot@w3.org
        ReportedBy: 01908667@gmx.de
         QAContact: www-validator-cvs@w3.org


Validation of the rule *{background-position:center;} results in output of 

*  {
background-position : center 0%;
} 

as "Valid CSS information". Sure, this is valid, but "center 0%" is not equal
to "center". "center 50%" or "center center" would be a correct expansion,
while "center 0%" means the same as "center top" which is obviously something
different.

Relevant part of the spec:
<http://www.w3.org/TR/CSS21/colors.html#propdef-background-position>
>If only one value is specified, the second value is assumed to be 'center'.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 16 September 2008 21:25:03 UTC