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

Re: Syntax for Ranges?

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 29 Oct 2005 10:18:00 +0200
To: www-style@w3.org
Message-ID: <20051029081800.GA25226@ridley.dbaron.org>
On Friday 2005-10-28 22:22 -0400, 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.
> 
> The syntax is the same as the one used in regular expression syntax, but 
> I think it'd work here.  Anyone got any suggestions/ideas?

See http://lists.w3.org/Archives/Public/www-style/1999Jul/0053 for a
previous similar suggestion.

-David

-- 
L. David Baron                                <URL: http://dbaron.org/ >
           Technical Lead, Layout & CSS, Mozilla Corporation

Received on Saturday, 29 October 2005 08:18:09 GMT

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