W3C home > Mailing lists > Public > www-talk@w3.org > November to December 2011

[Proposal] "device-type" Media Query

From: Brian <irishb@gmail.com>
Date: Thu, 8 Dec 2011 12:17:29 -0500
Message-ID: <CAKvX=91PMzEhg8_uHE6r0OtRts2gZkBse16fQaFxKOHi1bFggw@mail.gmail.com>
To: www-talk@w3.org
This would be my first foray into mailing lists, so if I'm "doing it
wrong", allow me to apologize.

With all of the attention being given to responsive design approaches, I
could not help but wonder what will happen in as little as a few years.
Smartphones will likely have resolutions that will either rival or
supersede present-day laptop resolutions, so our approach of detecting
screen resolution and/or pixel density will be useless as a means to detect
form factor. What we need in a media query is the ability to detect a true
form factor, a "device-type" if you will, something along the lines of the
"handheld" query of HTML4 lore.

We could potentially make an effort to revive the "handheld" query, along
with a new "tablet" query as well, but I'm afraid that relying on browser
implementation alone is risky. If there's a way to engage browsers in a way
that gives them a disadvantage for _not_ implementing it, that may
be preferable.

I would love more discussion on this topic, and if I'm completely out of
the loop on something that makes this a non-issue, I'd love to be
enlightened. :)

Thanks,
--
Brian Irish
Received on Friday, 9 December 2011 09:56:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 9 December 2011 09:56:15 GMT