- From: Yves Lafon <ylafon@w3.org>
- Date: Thu, 15 Oct 2009 05:50:24 -0400 (EDT)
- To: www-style@w3.org
Hi, I am looking at the media-queries CR document [1], form a CSS Validator standpoint, and I am wondering why the syntax of expression is '(' .. ')' instead of using a function name like 'feature(' ... ')'. Changing the parser in one place, for handling media-queries is one thing, but adding support for '('..')' introduce lots of new error handling in other part of the spec for errors like color: rgb (1,2,3); (instead of rgb(1,2,3);) plus 'feature(...)' seems more readable than '(..)' (but that's subjective :) ). [1] http://www.w3.org/TR/2009/CR-css3-mediaqueries-20090915/ -- Baroula que barouleras, au tiéu toujou t'entourneras. ~~Yves
Received on Thursday, 15 October 2009 09:50:28 UTC