This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6090 - Wrong normalization for value of background-position in validated output
Summary: Wrong normalization for value of background-position in validated output
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Olivier Thereaux
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 21:24 UTC by 01908667
Modified: 2009-02-06 15:21 UTC (History)
0 users

See Also:


Attachments

Description 01908667 2008-09-16 21:24:28 UTC
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'.
Comment 1 Yves Lafon 2009-02-06 15:21:25 UTC
Fixed on http://qa-dev.w3.org:8001/css-validator/