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

Re: [csswg-drafts] Add 'motion-preference' media feature

From: Nat Tarnoff via GitHub <sysbot+gh@w3.org>
Date: Mon, 05 Dec 2016 20:54:42 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-264974173-1480971279-sysbot+gh@w3.org>
This makes sense to me as solid way to implement in CSS. By default 
motion is on, and we can reduce action from there. I'm struggling to 
see how this gets implemented though in a real world example.
For instance, as a media query, I expect something like:
```
@medis (motion-preference: none {
  // Base CSS - no motion
}
@media (motion-preference: reduced) {
  // CSS for limited motion
}
 // Balance of CSS with full animation
````
Of course this is an ideal, and most folks will probably retrofit and 
use these in the opposite manner initially. Is there anyway this can 
be read and acted upon by WAAPI/JS animation implementations?

-- 
GitHub Notification of comment by nattarnoff
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/pull/778#issuecomment-264974173 
using your GitHub account
Received on Monday, 5 December 2016 20:54:59 UTC

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