- From: Anne van Kesteren <annevk@opera.com>
- Date: Mon, 31 Mar 2008 16:18:45 -0700
- To: www-style@w3.org
The current Media Queries draft is pretty vague about what kind of <length>, <integer>, etc. the various media features accept. As in, whether they have to be positive (non-zero), non-negative, any, etc. Here's my proposal: width height device-width device-height Non-negative <length>. So 0px is fine. But -1px is not. -0px is equal to 0px just like in CSS 2.1 aspect-ratio device-aspect-ratio Positive, non-zero, <integer>. color color-index monochrome Non-negative <integer>. resolution Positive <resolution>. orientation, scan, and grid seem clear enough as is. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Monday, 31 March 2008 23:19:27 UTC