W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2016

Re: [csswg-drafts] [mediaqueries] Media Feature: "reduce motion" user setting

From: James Craig via GitHub <sysbot+gh@w3.org>
Date: Wed, 07 Dec 2016 19:37:41 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-265550025-1481139459-sysbot+gh@w3.org>
@frivoal wrote:

> …you'd use the query in a boolean context, without much concern for 
whether you were merely requested to turn transparency off, or if you 
wouldn't get transparency anyway:
@media (reduce-transparency) { /* good opaque variant of your design*/

Assuming we have one or more vendors shipping a combination of both 
forced "capability-features" and non-forced "preference-features", 
it'd be less ambiguous (though admittedly more verbose) to join two 
separate media features in a query:
@media (transparency-preference: reduce) or (transparency: disabled) {
    /* good opaque variant of your design */ 

GitHub Notification of comment by cookiecrook
Please view or discuss this issue at 
using your GitHub account
Received on Wednesday, 7 December 2016 19:37:47 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:26 UTC