Re: [csswg-drafts] [css-values-4] Simplification algorithm should possibly return single child for min/max (#9559)

  > Could it be related to #7456?

No, this issue is about my misunderstandings (which still hold to this day) regarding the simplification of a Product node, and more generally, about the whole parsing/simplification procedures. I think I was thinking to #4399.

`min(1em)` should not be preserved at computed/used value time. I think `1em` is resolved to an absolute px at step 1.2, then `min()` is resolved at step 4.

To be honest, I do not know what should be the serialization as a component of a specified value, for `min(1em)` as input. Based on current browser outputs, I would say `calc(1em)` but from reading the spec, the step you are suggesting seems to be missing, indeed. There do not appear to be any existing [WPTs](https://github.com/web-platform-tests/wpt/blob/master/css/css-values/minmax-length-serialize.html). 

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 5 November 2023 13:08:12 UTC