Re: [csswg-drafts] [css-typed-om] Should a type have a null percent hint to match `<number>`? (#10763)

However, based from https://github.com/w3c/csswg-drafts/issues/10017#issuecomment-1973366955:

  > things like `height: calc(sqrt(50% / 1px) * 1px)` should work

So maybe the type should have a percent hint matching the resolved type (the "production", as named in the type matching algo), when the context allows percentage, or a null percent hint when the resolved type is `<number>`.

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


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

Received on Wednesday, 21 August 2024 07:59:10 UTC