Re: [csswg-drafts] Can we reinstate `<number-percentage>` and friends? (#9955)

Fwiw, in #9955: 

  > RESOLVED: % that are resolved against numbers do that at parse time

The issue was also about resolving `<percentage>` to `<angle>` at parse time (as noted in the title of the issue but not in the initial comment though). So `opacity: calc(50% + 0.5)` or `background-color: hsl(from blue calc(h + 30deg) calc(s + 25%) calc(l + 5%))` would be valid.

That said, I am not fond of resolving values at parse time, whether it is naked or inside a math function. Would you also allow `font-weight: calc(bold + 100)`, since `bold` could be resolved to `<number>` at parse time?

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


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

Received on Saturday, 2 March 2024 17:23:50 UTC