W3C home > Mailing lists > Public > www-style@w3.org > January 2015

[mediaqueries4]Differentiating touchscreen+mouse from touchscreen only scenarios

From: Oren Freiberg <oren.freiberg@microsoft.com>
Date: Thu, 18 Dec 2014 22:56:08 +0000
To: Mustaq Ahmed <mustaq@chromium.org>, Florian Rivoal <florian@rivoal.net>, Brandon Walderman <brwalder@microsoft.com>
CC: CSS WG <www-style@w3.org>, François REMY <francois.remy.dev@outlook.com>, Rick Byers <rbyers@chromium.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, Rossen Atanassov <Rossen.Atanassov@microsoft.com>
Message-ID: <BY2PR0301MB0646850CF65C14F2BE40EE56F36A0@BY2PR0301MB0646.namprd03.prod.outlook.com> (sfid-20141218_225614_983103_60D1F6E8)
> We think the spec should avoid ambiguities around non-pointer devices---we were bitten by this during our implementation.
> Details: Even though 'pointer', 'any-pointer', 'hover' and 'any-hover' values are meant for pointing devices only (right?), the spec
>    http://dev.w3.org/csswg/mediaqueries-4/#mf-interaction

> defines 'pointer' and 'hover' values ambiguously with respect to inclusion/exclusion of non-pointing input device like keyboards:
> 
> A. The 'pointer' value definitions include non-pointing devices, but the 'hover' value definitions don't. These defs use "... primary input mechanism ..." and "... primary pointing system ..." respectively.
> B. The 'any-pointer' and 'any-hover' definitions include non-pointing devices: "... capabilities of all the input devices ...".
> 
> Hope we didn't miss anything in-between.
> Mustaq
> 
> On Thu, Dec 18, 2014 at 1:54 PM, Florian Rivoal <florian@rivoal.net> wrote:
> On 15 Dec 2014, at 21:54, Mustaq Ahmed <mustaq@google.com> wrote:
> 
> Update: we are on track to ship 'any-pointer' and 'any-hover' media queries in Chrome M41 (https://www.chromestatus.com/features/6460705494532096). These are already available in Chrome canary builds for testing. Note that we shipped 'pointer'
> and 'hover' media queries in M38.
>
> BTW, IE 11 tech preview is also shipping these:
> https://status.modern.ie/mediaquerieslevel4interactionmediafeaturespointerandhover?term=media%20queries

>
> Good to hear, thanks for the update. Any feedback on the feature itself, or the way it is specified, based on this implementation?
> Also, I suppose you wrote some tests in the process of developing this. It would be greatly appreciated if you could contribute these to W3C to be included in the test suite for media queries 4, to help move the spec along the REC track.
>  - Florian
>
> PS: Hi Microsoft, same questions about feedback and tests for you.

Adding Brandon the developer to represent Microsoft for this feature area.

Thanks!
Oren
Received on Thursday, 22 January 2015 13:47:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:56 UTC