W3C home > Mailing lists > Public > www-validator-css@w3.org > October 2009

Bug Report: CSS3 Validation of "ch" unit

From: Ryan Foster <rrf5000@psu.edu>
Date: Sun, 25 Oct 2009 21:04:44 -0400
Message-ID: <4AE4F5AC.2080005@psu.edu>
To: www-validator-css@w3.org
When set to CSS3, the CSS Validator states:

    Value Error : min-width
    <http://jigsaw.w3.org/css-validator/nullvisudet.html#propdef-min-width>
    Unknown dimension 15ch

While the CSS3 Values and Units <http://www.w3.org/TR/css3-values/> 
draft specification states <http://www.w3.org/TR/css3-values/#relative0>:

    ch:  The width of the "0" (ZERO, U+0030) glyph found in the font for
    the font size used to render. If the "0" glyph is not found in the
    font, the average character width may be used. How is the "average
    character width" found?

The Validator should mark "ch" as a valid unit when set to CSS3.  The 
same error occurs in the development version 
(http://qa-dev.w3.org:8001/css-validator/).
Received on Monday, 26 October 2009 10:17:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:25 GMT