W3C home > Mailing lists > Public > www-style@w3.org > November 2007

Unit omission with zero length

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sat, 17 Nov 2007 17:41:09 +0200
Message-Id: <2A8FD310-4DA0-49F9-BC57-20A3AC65EB88@iki.fi>
To: W3C Style List <www-style@w3.org>

 From http://www.w3.org/TR/css3-values/#lengths :
"After the '0' length, the unit identifier is optional."

Please be more explicit about the distinction between the literal  
string "0" and the number evaluating to zero ("0.0", "00", ".0", etc.).

I now suppose that the unit identifier is optional only with the  
literal string "0", but initially, I read less carefully and thought  
that the unit identifier was optional with anything evaluating to zero.

Henri Sivonen
Received on Saturday, 17 November 2007 15:41:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:31 UTC