W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [mediaqueries4]Differentiating touchscreen+mouse from touchscreen only scenarios

From: Rick Byers <rbyers@chromium.org>
Date: Fri, 25 Apr 2014 16:19:21 -0400
Message-ID: <CAFUtAY9r3qcg_6nPk8iF0+4CHDCm6Fn-7TqrRVWZK2hJ7ioieg@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: Fran├žois REMY <francois.remy.dev@outlook.com>, Oren Freiberg <oren.freiberg@microsoft.com>, CSS WG <www-style@w3.org>
On Fri, Apr 25, 2014 at 3:36 PM, Tab Atkins Jr. <jackalmage@gmail.com>wrote:

> On Fri, Apr 25, 2014 at 12:32 PM, Rick Byers <rbyers@chromium.org> wrote:
> > On Thu, Apr 24, 2014 at 9:20 PM, Oren Freiberg <
> oren.freiberg@microsoft.com>
> > wrote:
> >> It seems Rick felt we should match both but it looks like Chrome never
> >> implemented it. Rick do you still feel the same way and plan on
> implementing
> >> a solution that supports matching both fine and coarse on a hybrid
> device?
> >>
> >> http://lists.w3.org/Archives/Public/www-style/2013Apr/0534.html
> >
> > I'd like to yes, but I didn't want to change anything here (or even
> finish
> > our implementation of this feature) until this was reflected in the spec
> > (indicating there was some kind of consensus here).  My understanding
> from
> > my last discussion with Tab was that he planned to update the spec to
> > explicitly state that setting BOTH coarse and fine was OK when multiple
> > input devices are considered 'primary'.
>
> That was done some time ago, btw. ^_^
>

Oh awesome, I never noticed that this happened:
   "if there are multiple reasonable "primary" input mechanisms with
different characteristics, UAs may make the feature match multiple values.
 "

Great, thank you!

 > In general I haven't heard much interested from other vendors on these MQ
> > features, so I've been hesitant to commit ourselves beyond the minimal
> > pointer:coarse support we added.  If IE was interested in these, I'm
> sure we
> > could quickly come to an agreement on behavior that we'd both implement
> :-)
>
> And if y'all agree on something more specific than what the spec
> currently suggests, please let me know so I can spec it.
>

Sounds good. I was thinking we'd start by always setting 'coarse' on
Android, 'fine' on Win/Mac/Linux/ChromeOS if a mouse/trackpad is detected,
and 'coarse' on Win/Linux/ChromeOS if a touchscreen is detected.  Does that
sound reasonable?  Can anyone comment on what IE might like to do?

Again I think we might want to refine this over time (eg. we know some
fraction of touchscreen laptop users almost never use their touchscreen,
maybe we should detect them and report only 'fine' for those), so the spec
shouldn't be too prescriptive.  But I think it's reasonable to start by
just reporting what devices we've found to be present.
Received on Friday, 25 April 2014 20:20:08 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC