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

In mathematics, though, `<` and `>` are usually only used as relation 
symbols and not as operators. Using them as paired brackets, i.e. 
_`>min<`_ and _`<max>`_, also kinda works for me.

``` CSS
{
    max(a b c)    calc(max(a b c))
    <a b c>       calc(<a b c>)
    a > b > c     calc(a > b > c)

    min(a b c)    calc(min(a b c))
    >a b c<       calc(>a b c<)
    a < b < c     calc(a < b < c)

    abs(a)        calc(abs(a))
    |a|           calc(|a|)

    round(a, b)   calc(round(a, b))
    [a]b          calc([a]b)
    [a]~b         calc([a]~b)
    a ~ b         calc(a ~ b)

    floor(a)      calc(floor(a))
    [a]_          calc([a]_)           ⌊a⌋
    (a _)         calc(a _)

    ceil(a)       calc(ceil(a))
    [a]`          calc([a]`)           ⌈a⌉
    [a]^          calc([a]^)           ⌈a⌉
    (a `)         calc(a `)
}
```

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

Received on Friday, 23 December 2016 01:17:45 UTC