Re: [csswg-drafts] [css-values-4] What should non-calc() math functions serialize to when they're fully resolved? (#4399)

Some questions from smfr I'm carrying over from #4505:

> Some concrete examples where implementations seem to disagree. How do the following serialize?
> 
> - ``min(1)``: ``min(1)`` or ``1``?
> - ``min(1, 2)``: ``min(1, 2)`` or ``1``?
> - ``min(min(1))``: ``min(min(1))``, ``min(1)`` or ``1``?
> - ``calc(min(1))``: ``calc(min(1))``, ``min(1)`` or ``1`` or other?
> 
> Questions:
> 
> 1. Should simplification ever remove all the math functions?
> 2. Should nested math functions of different types be simplified, i.e. is it OK to simplify ``calc(calc(1))`` but not ``calc(min(1))``

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

Received on Friday, 15 November 2019 21:19:10 UTC