W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

[csswg-drafts] [mediaqueries-5] Remove or expand inverted-colors (#3858)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Fri, 19 Apr 2019 23:51:58 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-435333516-1555717917-sysbot+gh@w3.org>
fantasai has just created a new issue for https://github.com/w3c/csswg-drafts:

== [mediaqueries-5] Remove or expand inverted-colors ==
Splitting out from #3807.

inverted-colors proposal
========================

```
@media (inverted-colors: none | inverted)
```

Supported in Safari; it's not clear whether "inverted" means all-pixels inversion, or color-inversion only, or what?

Important to distinguish these, as what authors do in response can vary based on which inversion is performed. (The `img { filter: invert(100%); }` rule in the spec's example, for instance, is only useful for all-pixel inversion; it would be *harmful* for a colors-only inversion.)

So, we either need to *specify* what kind of inversion is allowed to be performed, or add more values capturing the distinctions among the types.


Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3858 using your GitHub account
Received on Friday, 19 April 2019 23:52:00 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC