- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 22 Nov 2023 18:01:57 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-values-4] Simplification algorithm should possibly return single child for min/max`, and agreed to the following: * `RESOLVED: Restore text simplifying out single-arg min/max functions` <details><summary>The full IRC log of that discussion</summary> <fantasai> scribe+<br> <fantasai> TabAtkins: Several years ago, we discussed simplifying calculation trees<br> <fantasai> TabAtkins: we agreed to aggressively simplify, e.g. min() if same units simplifies out<br> <fantasai> TabAtkins: as part of changes, I ended up removing the spec text about min() or max() with single argument<br> <fantasai> TabAtkins: I'm not sure why I dropped that spec text, I suspect it was an accident<br> <fantasai> TabAtkins: today all browsers do aggressively drop single-arg min()/max()<br> <fantasai> TabAtkins: e.g. min(5px) + 10px becomes 15px<br> <fantasai> TabAtkins: Chrome recently also aligned on this behavior<br> <dbaron> +1 to specifying what everyone does, seems like reasonable behavior.<br> <fantasai> TabAtkins: so I suggest we resolve on browser behavior, that single-arg min/max functions can be dropped from calc tree<br> <dbaron> (I think sakhapov recently wrote some reasonably major changes to calc() simplification in Chrome, to align with the spec.)<br> <fantasai> TabAtkins: even if the unit cannot yet be resolved<br> <fantasai> +1 from me<br> <fantasai> RESOLVED: Restore text simplifying out single-arg min/max functions<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9559#issuecomment-1823238995 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 22 November 2023 18:01:59 UTC