Re: [csswg-drafts] [css-values]: Proposal – Add type conversion functions to mathematical expressions (#13550)

That would not be a generic solution. Moreover, your suggestion would likely result in a "breaking change" rejection and would create disproportionately more work than my proposal.

The two new functions I have proposed ensure that the suggested functionality can be used wherever appropriate to add or remove the unit from a (literal) value. This avoids the hassle that would arise from changing existing functionality, creating special cases, or requiring new compliance tests, etc.

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


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

Received on Wednesday, 1 April 2026 16:48:11 UTC