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

Syntax for Ranges?

From: Kelly Miller <lightsolphoenix@gmail.com>
Date: Fri, 28 Oct 2005 22:22:26 -0400
Message-ID: <4362DCE2.6010909@gmail.com>
To: www-style@w3.org

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?

-- 
http://www.mozilla.org/products/firefox/ - Get Firefox!
http://www.mozilla.org/products/thunderbird/ - Reclaim Your Inbox!

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Received on Saturday, 29 October 2005 02:22:33 GMT

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