Re: [csswg-drafts] [css-values-4] Specify simplification of min() and max() more explicitly (#4550)

How do you sort when you have sums with different units? Like `min(1em + 1vw, 1lh + 1px)`, where `em < lh < px < vw`, so which argument goes first?

And about partial simplification, it may be problematic with percentages. It may seem `min(2em, 1%, 3%)` can be simplified to `min(2em, 1%)`, but percentages can resolve to negative values, so actually 3% may be smaller than 1%!


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

Received on Sunday, 1 December 2019 18:38:13 UTC