Re: [csswg-drafts] [css-values] Re-adding min() and max()?

I wonder whether `min()` and `max()` would be the best notation, 
however, especially if these operations were only available within 
`calc()`. I know it’s unusual and incompatible with programming 
languages (which need logic operators and, unlike CSS, have a boolean 
data type), but maybe `<` and `>` could be used as operators instead.

``` CSS
{
width: min(100px 10em 10vw);
width: min(100px, 10em, 10vw);
width: calc(min(100px 10em 10vw));
width: calc(min(100px, 10em, 10vw));
width: calc(100px < 10em < 10vw);

height: max(100px 10em 10vw);
height: max(100px, 10em, 10vw);
height: calc(max(100px 10em 10vw));
height: calc(max(100px, 10em, 10vw));
height: calc(100px > 10em > 10vw);
}
```

-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/544#issuecomment-268516922 
using your GitHub account

Received on Wednesday, 21 December 2016 12:58:30 UTC