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

Re: [css3-mediaqueries] Touch enabled devices

From: Kenneth Christiansen <kenneth.christiansen@openbossa.org>
Date: Thu, 22 Apr 2010 09:45:32 -0300
Message-ID: <l2q927d01d21004220545tf13997fdpab0803b922442c1a@mail.gmail.com>
To: Gregers Gram Rygg <gregersrygg@gmail.com>
Cc: www-style@w3.org
I think something like (main-input-method: touch) would make more sense.

With values as |touch|keys| etc. Keys could then cover additional
cases such as setop boxes which normally are navigatable using keys on
a remote control.

On Thu, Apr 22, 2010 at 8:29 AM, Gregers Gram Rygg
<gregersrygg@gmail.com> wrote:
> Hi,
> I'm new to the list, so I'm sorry if this has been discussed already.
> Tried to search, but couldn't find anything regarding my question.
> Why isn't "-moz-touch-enabled" or similar part of CSS3 media queries
> (without -moz)?
> https://developer.mozilla.org/En/CSS/Media_queries#-moz-touch-enabled
> I believe this is absolutely critical to give touch-devices a better
> user-experience. Bigger buttons, autocomplete dropdown-lists or
> similar. Since touch is not as precise as a mouse cursor. Many of the
> sites that have touch support have a totally different page for the
> touch devices, but I would really prefer if it was possible to have a
> single site or web app for all devices.
> To avoid confusion: I'm not talking about mobile. Only touch. Touch on
> a phone, iPad or a laptop all need bigger buttons regardless of the
> screen size.
> Previously I've detected touch devices by checking for the javascript
> event, but this probably won't work when Firefox and Chrome get touch
> support. Using media queries for this would also be a cleaner approach
> I've already posted a message to the chromium mailing list, and a bug
> for chromium. As well as asking other developers for solutions that I
> might not have known about on StackOverflow - without any acceptable
> answers.
> http://code.google.com/p/chromium/issues/detail?id=36415
> http://stackoverflow.com/questions/2607248/optimize-website-for-touch-devices
> Can this please be considered for the CSS3 standard? I'm a web
> developer, so I have no clue about how a browser can detect hardware
> support for touch, but it seems like Mozilla has solved this somehow.
> Regards,
> Gregers Rygg

Kenneth Rohde Christiansen
Technical Lead / Senior Software Engineer
Qt Labs Americas, Nokia Technology Institute, INdT
Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
Received on Thursday, 22 April 2010 12:46:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:45 UTC