Re: [csswg-drafts] [css-values-4] What happens to sign(%) when % has no meaning? (#12204)

Sorry, I failed to tag that edit against an issue. Searching in my email, looks like it was to address this comment <https://github.com/w3c/csswg-drafts/issues/10840#issuecomment-2397492931>.

It causes the calculation to capture the fact that the calculation context doesn't do anything with a percentage, so I don't try and resolve it against something else and only happen to fail it *later*, like `opacity: calc((10% + 50px)/100px)`. That sort of calc now fails when it tries to add `10%` and `50px`, as the percent hint on `10%` isn't compatible with a length.

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


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

Received on Friday, 23 May 2025 00:05:53 UTC