[csswg-drafts] [css-values-4] Level 4 spec erases `<number-percentage>` type defined in level 3 (#7727)

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

== [css-values-4] Level 4 spec erases `<number-percentage>` type defined in level 3 ==
Level 3 defines the [`<number-percentage>`](https://www.w3.org/TR/css-values-3/#typedef-number-percentage) type as follows:

> `<number-percentage>`
>    Equivalent to `[ <number> | <percentage> ]`, where the `<percentage>` will resolve to a `<number>`.

This type is used in the [Filter Effects spec](https://drafts.fxtf.org/filter-effects-1/#funcdef-filter-contrast), and probably in other places too, but I don't actually know off the top of my head.

Level 4 however, does not define `<number-percentage>`, and instead says in a note in [5.6. Mixing Percentages and Dimensions](https://www.w3.org/TR/css-values-4/#mixed-percentages):

> A `<number-percentage>` will never be added, as `<number>` and `<percentage>` can’t be combined in `calc()`.

Whether it can be used in `calc()` or not, it still needs to exist as a type. (Or the inconsistency needs to be resolved some other way.)

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


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

Received on Monday, 12 September 2022 11:16:07 UTC