Re: [csswg-drafts] [css-values-4] Math functions also match mixed types (#10727)

That algo's branch is still valid - when you're doing operations on plain CSSNumericValue objects, you don't yet know the context they'll be used in, so you can't tell whether a % will become a length/etc. So that algo handles unifying types correctly when this is the case - so long as your % doesn't end up resolving against *two* different types, it's fine to add it to other dimensions.

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


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

Received on Sunday, 18 August 2024 17:37:29 UTC