-
Notifications
You must be signed in to change notification settings - Fork 715
Add 'motion-preference' media feature #778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Alternative to w3c#586 Having a good wording of the feature also gets around default value evaluating to true instead of false. Ref: w3c#586 (comment)
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.
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? |
Why split the conversation into this alternative PR? Please just continue in either of the original threads: #442 or #586. PR #586 was raised because the CSSWG hadn't taken action in over two years, since this was proposed in 2014. We can come to an agreement in a single thread I believe. |
The suggestion already is in #442 - precisely here: #442 (comment) However it wasn't picked and as far as I can see there wasn't any argument against it (yet!). Do you see any issues with this PR here? |
@inoas wrote:
Your last comment in that thread suggested You also seemed to agree with the "prefers-" prefix over your suggested "-preference" suffix with the following comment:
|
@inoas wrote:
I think the forced-all-animation-off idea ( |
As for the |
Also I think your proposal would not be backwards compatible: @media (motion-preference: all) /* this would be the default, but works in no browsers today */ |
I suggest closing this one and duping it to #586 |
|
This discussion is kind of spreading over a bunch of places. I made a comment in #442 (comment) to try and summarize all that's been said in terms of naming options, and try to find a winner. |
Closing as there has been made a decision. |
Implements Issue: #442
Alternative to #586
Having a good wording of the feature also gets around default value evaluating to true instead of false. Ref: #586 (comment)