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 
using your GitHub account
Received on Monday, 5 December 2016 23:15:23 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:06 UTC