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

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