[csswg-drafts] [css-values-5] Does `container-progress()` really want the entire `<size-feature>` production for its progress value? (#11120)

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

== [css-values-5] Does `container-progress()` really want the entire `<size-feature>` production for its progress value? ==
Similarly as requested in #10966, [`container-progress()`](https://drafts.csswg.org/css-values-5/#funcdef-container-progress) should probably take a `<mf-name>` corresponding to a [size feature](https://drafts.csswg.org/css-conditional-5/#size-features), instead of a whole [`<size-feature>`](https://drafts.csswg.org/css-conditional-5/#typedef-size-feature), which *is the same as for a media feature: a feature name, **a comparator, and a value*** (emphasize added on what is unexpected).

Perhaps you would like to use something different than `<mf-name>`, to avoid confusion with media features. I see different options: 

  - `<ident>`
  - `<size-feature-name> = <ident>`
  - `<condition[<size-feature-name>]>`

The last option is related to #10790 but I am not sure that the new `<type[<subtype>]>` syntax type is intended for this.

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


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

Received on Thursday, 31 October 2024 05:03:39 UTC