Re: [csswg-drafts] [css-values] specification for calc() should be clearer about when the result has a percentage (#10017)

Okay, yeah, I've gone ahead and loosened the text in Typed OM; it now just requires that the context in which the value is used allow percentages; if that's true, it can then match a `<length>` or whatever even with a non-null percent hint.

I've also tweaked `<progress>` in Values 5 to be consistent with this - a literal `<percentage-token>` used as a `<progress>` will map to the obvious `<number>`, but any other uses of percentages (aka, in a function) will resolve percentages as normal for the context.

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


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

Received on Monday, 4 March 2024 23:46:57 UTC