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

Okay, tweaked the definitions a little in <https://github.com/w3c/css-houdini-drafts/commit/d38422668ecbda29b5d3bdcd076a87a4b05d5aca> to pay more attention to the percent hint, when you have context for the value's use.

Your 'opacity' example is now properly invalid, as 'opacity' does not resolve percentages against any other type, so it requires the calculation to have a null percent hint.

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


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

Received on Thursday, 22 August 2024 22:46:15 UTC