- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Wed, 16 Dec 2009 22:00:44 -0600
- To: "L. David Baron" <dbaron@dbaron.org>
- Cc: www-style <www-style@w3.org>
On Wed, Dec 16, 2009 at 3:17 PM, L. David Baron <dbaron@dbaron.org> wrote:
> Add the production:
> <length-min-max> := ( 'min(' | 'max(' )
>                    <length-expression>
>                    ( ',' <length-expression> )+
>                    ')'
> to add min() and max() accepting 2 or more arguments.
> (Alternatively, they could be required to take 1 or more arguments,
> or could take exactly 2 arguments.)
For the sake of machine-generated CSS, max() and min() should take 1
or more arguments.  It simplifies cases when you're trying to guard an
expression with multiple values, where there may be only a single
expression.  This shouldn't be confusing to authors hand-generating
their CSS.
~TJ
Received on Thursday, 17 December 2009 04:01:16 UTC