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

Thanks!

I am aware that the algorithm has to account for inputs that cannot be reproduced in a style sheet but with handmade `CSSNumericValue`s, whose type (successfully) matches `[length → 1]` with `angle` percent hint against `<length>` in a context defined with `<angle-percentage>`.

That said, would you say that all context/percentage conditions can be simplified by *"if a percent hint is present, it must match the type that `<percentage>` resolves to in the context"*?

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


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

Received on Friday, 23 August 2024 09:07:53 UTC