Re: Syntax for Ranges?

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 UTC