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

Random access and the CSS3 Values spec

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sat, 17 Nov 2007 17:32:32 +0200
Message-Id: <503DE866-FFE2-4348-928D-98FFBD5B7ED6@iki.fi>
To: W3C Style List <www-style@w3.org>

As mentioned in my previous messages to the list, I started to  
implement media query validation based on a faulty assessment of the  
simplicity of media queries. This was partly due to looking up  
individual things in normative references instead of reading  
everything from start to finish.

If one looks up the definition of e.g. <length> in the CSS3 Values  
spec[1], one finds that "The format of a length value (denoted by  
<length>) is a <number> immediately followed by a unit identifier  
(e.g., 'px', 'gd'). After the '0'  length, the unit identifier is  

Nothing about calc() or any other functional notation. I learned about  
calc() in passing on #css.

For the benefit of readers who look up individual definitions, it  
would be helpful to make the value type definition mention the  
relevant functions that can appear in a given value type.

[1] http://www.w3.org/TR/css3-values/#lengths
Henri Sivonen
Received on Saturday, 17 November 2007 15:32:45 UTC

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