Re: [csswg-drafts] [mediaqueries-5] `prefers-contrast: high` media feature doesn't account for macOS and iOS (#2943)

Another possibility that would allow the `low` or `decreased` value is to associate the named values with a linear numeric scale like Meredith mentioned, then using the greater-than/less-than syntax:

```css
@media (prefers-contrast > increase) { } /* matches `increase` or `max` but not `low` or `no-preference` */
@media (prefers-contrast < max) { } /* matches `low`/`decrease`, `no-preference`, or `increase` but not `max` */
```

I wanted to mention the possibilities above, though these are less desirable to me because of:
- the added complexity in general, and
- the boolean would match the `low` value... therefore `@media (prefers-contrast)` could mean the opposite: "does NOT prefer contrast."

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


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

Received on Monday, 10 August 2020 23:41:45 UTC