- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Feb 2025 20:19:52 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-color-hdr] How should checking for percentages summing to 0 work in dynamic-range-limit-mix() when calc() is used?`, and agreed to the following: * `RESOLVED: remove the sentence in spec that says if sum is zero, treat as invalid; possibly add new prose about splitting the percentage, and update tests` <details><summary>The full IRC log of that discussion</summary> <jcraig> weinig: issue is that the spec for dynamic color mix has rules applied at parse time that check if value is zero<br> <jcraig> if all percentages add up to zero, they are invalid, but calc() may not know if it's invalid yet<br> <jcraig> options: either define at calc time what do in that scenario, mark as invalid at computed style time, or have it behave as if all percentages are the same; evenly divided<br> <jcraig> someone brought up the a concern with 50 high 50 low example, nothing constrained, you'd get 33/33/33 (not sure if I scribed that correctly)<br> <jcraig> currently we even split it, but worth considering when animating the ramps to zero<br> <jcraig> ChrisL: people will ramp it for animation so we should ensure it's not jarring<br> <jcraig> weinig: no current test for that.... but yes, should fix that<br> <jcraig> propose if all zero, treat as all at 33%<br> <jcraig> ChrisL: sounds reasonable<br> <jcraig> proposal: remove the sentence in spec that says if sum is zero, treat as invalid<br> <jcraig> weining: i can take on an item to work up the correct prose for that change to splitting the percentage<br> <jcraig> s/treat as invalid/treat as invalid; possibly add new prose about splitting the percentage, and update tests/<br> <jcraig> astearns: no objections resolved...<br> <jcraig> rrsagent, make minutes<br> <RRSAgent> I have made the request to generate https://www.w3.org/2025/02/26-css-minutes.html jcraig<br> <jcraig> RESOLVED: remove the sentence in spec that says if sum is zero, treat as invalid; possibly add new prose about splitting the percentage, and update tests<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11678#issuecomment-2686103826 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 26 February 2025 20:19:53 UTC