W3C home > Mailing lists > Public > www-style@w3.org > December 2011

Proposal: Form factor media queries

From: Brian <irishb@gmail.com>
Date: Thu, 8 Dec 2011 15:56:42 -0500
Message-ID: <CAKvX=93w-dax4qvn+5zrc4xXJHy5aBdVU1Pfj9SkZgr=h=1DbQ@mail.gmail.com>
To: www-style@w3.org
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 that was abandoned after the iPhone was
released and refused to implement it, to prevent a bad user experience.

I imagine something akin to: <link rel="stylesheet" media="handheld,
tablet" src="style-handheld-tablet.css">

Brian Irish
Received on Friday, 9 December 2011 09:56:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:50:11 UTC