W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2019

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

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 15 Nov 2019 21:19:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-554532346-1573852747-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:56 UTC