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

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

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Tue, 06 Dec 2016 06:54:37 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-265075421-1481007276-sysbot+gh@w3.org>
I agree with the general shape of the proposal, the semantics and the 
new spec section, but I don't think the naming is great, and also 
dislike `default` being falsey.

My proposal back from #443 was
`reduced-motion: none | prefer`, which could possibly be expanded 
later with other truthy values, like for example `force` for when the 
UA is disabling all motions on its own, and we just want an MQ to let 
the author know about it so that they can react.

I don't think the `force` value is particularly likely on 
`reduced-motion`, but I do think it would be more likely on other 
similar "preference" properties, and I'd like to get the naming 
consistent.

`reduced-transparency: none | prefer | force`
`reduced-motion: none | prefer | force`
`color-invert: none | prefer | force`
`save-ink: none | prefer | force`

I'd also be OK with a replacing `none` with another falsey value, but 
`unknown` feels wrong, because it feels like an invocation of the 
3-valued logic described in 
https://drafts.csswg.org/mediaqueries-4/#evaluating.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/pull/586#issuecomment-265075421 
using your GitHub account
Received on Tuesday, 6 December 2016 06:55:02 UTC

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