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 5589 - CSS Validator refuses values with unit stuck to value for column-width property
Summary: CSS Validator refuses values with unit stuck to value for column-width property
Status: RESOLVED FIXED
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: CSS 3 (show other bugs)
Version: CSS Validator
Hardware: Macintosh All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL: http://www.w3.org/TR/css3-multicol/#l...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-27 12:17 UTC by Olivier Thereaux
Modified: 2008-03-27 15:53 UTC (History)
0 users

See Also:


Attachments

Description Olivier Thereaux 2008-03-27 12:17:38 UTC
The validator currently throws an error for:
p { column-width:25em }
or
p { column-width:25px }


the following pass validation
p { column-width:25 em }
p { column-width:25 px }
p { column-width: 25 px }

Is this an error in parsing the value for this particular property?

(both prod and dev versions show this bug)
Comment 1 Olivier Thereaux 2008-03-27 12:19:23 UTC
credit where due. This issue was first reported by Rafael Holt:
http://lists.w3.org/Archives/Public/www-validator-css/2008Feb/0032.html
Comment 2 Yves Lafon 2008-03-27 15:53:29 UTC
the class was checking for numbers instead of length (with the specia case of 0 being a number and a valid length).
fixed version online at http://qa-dev.w3.org:8001/css-validator/