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

My preferred answers, where we just simplify everything down as fast as possible:

* `min(1)` => `calc(1)` if serialized at specified-value time; `1` at computed-value time
* `min(1, 2)` => same
* `min(min(1))` => same
* `calc(min(1))` => same

----

My acceptable answers, if I annotate the root of the tree with knowledge that it's a root node, and what function it came from:

* `min(1)` => `min(1)` at specified-value time;  `1` at computed-value time
* `min(1,2)` => `min(1,2)` at specified-value time; `1` at computed-value time
* `min(min(1))` => `min(1)` at specified-value time;  `1` at computed-value time
* `calc(min(1))` => `calc(1)` at specified-value time; `1` at computed-value time

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

Received on Friday, 15 November 2019 21:30:07 UTC