[csswg-drafts] [mediaqueries-4] change `infinite` in `resolution` descriptor to `infinity` to match css-values (#7939)

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

== [mediaqueries-4] change `infinite` in `resolution` descriptor to `infinity` to match css-values ==
https://www.w3.org/TR/mediaqueries-4/#resolution

```css
@media (min-resolution: infinite) {}

@media (resolution = infinite) {}

@media (infinite = resolution) {}

@media (resolution < infinite) {}

@media (infinite > resolution) {}
```

As far as I know this is currently the only current media description that has a range type while also accepting an `<ident>` value (`infinite`).

_I am assuming that the syntactical ambiguity is ok because browsers would have lists of known media descriptors._

In `css-values` the numeric constant `infinity` is defined.
Should this same constant be used here?

`infinite` -> `infinity`


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


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

Received on Friday, 21 October 2022 17:16:17 UTC