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

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

From: James Craig via GitHub <sysbot+gh@w3.org>
Date: Sun, 25 Sep 2016 19:19:10 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-249440703-1474831147-sysbot+gh@w3.org>
@inoas wrote:
> ```(motion: none)```

None is a reserved for truthy matching e.g. (not motion) meaning the 
default, so this won't work. How about this instead.

```
(prefers-reduced-motion: default) /* 'default' should be a non-truthy 
boolean match like 'none' */
(prefers-reduced-motion: reduce)
```

So that that authors could use the valueless shorthand:
`@media (prefers-reduced-motion) { /* disable excess motion */ }`


-- 
GitHub Notification of comment by cookiecrook
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/442#issuecomment-249440703 
using your GitHub account
Received on Sunday, 25 September 2016 19:19:18 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:34 UTC