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

Re: [csswg-drafts] [mediaqueries-4] Change when any-* evaluate to 'none'

From: Patrick H. Lauke via GitHub <sysbot+gh@w3.org>
Date: Mon, 05 Dec 2016 23:14:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-265009257-1480979664-sysbot+gh@w3.org>
thinking about this further in the last few days - just to help myself
 work through this:

1) the way `any-pointer` and `any-hover` are currently specced with 
regards to `none` value, they can be used to answer the questions "are
 *all* inputs of a type that lacks a pointer" / "are *all* inputs 
incapable of hover"

2) with the proposed change here, `any-pointer` and `any-hover` would 
help answer the questions "is there *any* input of a type that lacks a
 pointer" / "is *any* input incapable of hover"

in the current model, there is no way to find out an answer to the 
questions in 2).

if the model for 2) was adopted, and the developer *did* want to find 
the answer to the questions as posed in 1), they could still do it 
with something like (using `not`, and for the pointer case `or` and 
parentheses) `@media not ((any-pointer: coarse) or (any-pointer: 
fine))` / `@media not (any-hover: hover)`

-- 
GitHub Notification of comment by patrickhlauke
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/737#issuecomment-265009257 
using your GitHub account
Received on Monday, 5 December 2016 23:15:23 UTC

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