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

Re: Syntax for Ranges?

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Sat, 29 Oct 2005 15:30:43 +0200
Message-ID: <20051029153043.zi1nmowad28sgww4@webmail.annevankesteren.nl>
To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Cc: Kelly Miller <lightsolphoenix@gmail.com>, www-style@w3.org

Quoting Lachlan Hunt <lachlan.hunt@lachy.id.au>:
>> height: range(18px,30em) - No smaller than 18px, no larger than 30em.
>
> So, what height would it be?  Any random height between 18px and 30em?

I guess the same as what would happen with:

min-height:18px; max-height:30em

...


> min(), max() and calc() functions have all been suggested previously 
> and make a lot more sense than this.

Those are not the same.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
Received on Saturday, 29 October 2005 13:30:45 GMT

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