Re: [csswg-drafts] [css-values-4] Allow combining number and percentage (#7485)

I think *combinable* can be clarified a bit more in the corresponding note.

This is not directly related to my initial demand, but it is not obvious to me that eg. `opacity: abs(-50%)` is invalid. I would clarify it with something like *`<percentage>` is not resolved against `<number>` in math functions, even when the context is `<number> | <percentage>`*.

It is not defined that type checking should apply before simplification. Assuming that it applies after, then `opacity: abs(-50%)` becomes valid.

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


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

Received on Wednesday, 13 July 2022 16:45:00 UTC