W3C home > Mailing lists > Public > www-style@w3.org > October 2005

Re: Syntax for Ranges?

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Sat, 29 Oct 2005 10:05:42 +0200
Message-ID: <43632D56.3020305@disruptive-innovations.com>
To: Kelly Miller <lightsolphoenix@gmail.com>
Cc: www-style@w3.org

Kelly Miller wrote:
> 
> I was just sitting there thinking about min-height and max-height, and I 
> was thinking:  why not have a syntax for unit ranges?  Maybe something 
> like this:
> 
> height: range(18px,30em) - No smaller than 18px, no larger than 30em.
> height: range(18px) - No smaller than 18px.
> height: range(,30em) - No larger than 30em.


That is a very nice suggestion, I must say. It may be the right solution
to add min-* and max-* values w/o bloating the properties' space.

</Daniel>
Received on Saturday, 29 October 2005 08:05:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:41 GMT