[csswg-drafts] [css-values-5] Do not make the type of `*-progress()` consistent with its input calculations? (#10840)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-values-5] Do not make the type of `*-progress()` consistent with its input calculations? ==
(Follow-up on this https://github.com/w3c/csswg-drafts/issues/10770#issuecomment-2333382568)

For `container-progress()` and [`media-progress()`](https://drafts.csswg.org/css-values-5/#media-progress-func):

  > The two input calculations but must have a consistent type or else the function is invalid. The result will be a `<number>`, made consistent with the consistent type of the arguments.

There is no size/media feature accepting percentages, but if there was one, say `hypothetical-length-percentage-feature`, I think `opacity: media-progress(hypothetical-length-percentage-feature from 0% to 100px)` should be valid.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10840 using your GitHub account


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

Received on Friday, 6 September 2024 07:07:59 UTC