W3C home > Mailing lists > Public > www-style@w3.org > October 2013

Re: [css-device-adapt] Avoid referring to Desktop

From: Rick Byers <rbyers@chromium.org>
Date: Wed, 2 Oct 2013 09:36:41 -0400
Message-ID: <CAFUtAY9GKRO-jAoXa1fFHtkmh8eGP6SZpdJ7GsCxKJZaR1DK3A@mail.gmail.com>
To: Kenneth Rohde Christiansen <kenneth.christiansen@gmail.com>
Cc: www-style list <www-style@w3.org>, John Mellor <johnme@chromium.org>, "Kostiainen, Anssi" <anssi.kostiainen@intel.com>
Agreed.  The desktop/mobile dichotomy is artificial and temporary, and it's
legacy is already starting to cause us pain.  I like the new wording -
thanks Kenneth!

Rick




On Wed, Oct 2, 2013 at 9:12 AM, Kenneth Rohde Christiansen <
kenneth.christiansen@gmail.com> wrote:

> Hi there,
>
> I believe it is better to avoid referring to "desktop" in the CSS
> Device Adaptation spec. I suggest the following change to
> http://dev.w3.org/csswg/css-device-adapt/#desktop-ua-styles-
>
> With the term desktop browser below, we mean a browser which has a
> size of the initial viewport, in CSS pixels, that is at least as large
> as the smallest viewport or viewing area you would expect a user of a
> desktop computer to have. In that sense, it could include tablet PC
> and TV browsers.
>
> 13.1. Desktop UA styles
>
> For a desktop browser, the recommendation is to have no UA styles.
> That means that it will have all descriptors initially set to ‘auto’,
> and behave as it would have without support for viewport descriptors
> if there are no viewport descriptors in the user or author styles.
>
> -> change to:
>
> Traditional user agents, used mostly on desktop and laptop computers,
> can easily be resized to fit most websites inside the initial viewport
> without breaking layout or adding scrollbars. Using the below
> recommendations, sites not adding any @viewport rules themselves will
> continue to look and function like they have always.
>
> 13.1. Large screen UA styles
>
> For browsers with default viewport size large enough to fit common
> websites without breaking the layout, or which can easily to resized
> to do so, the recommendation is to have no UA styles. That means that
> it will have all descriptors initially set to ‘auto’, and behave as it
> would have without support for viewport descriptors if there are no
> viewport descriptors in the user or author styles.
>
> For browsers which support changing orientation, and the portrait mode
> breaks this the above, it is recommended to set a minimum layout
> width, equal to that of the width in landscape mode.
>
> EXAMPLE:
>
> @viewport {
>   min-width: 1024px;
> }
>
> Cheers
> Kenneth
>
> --
> Kenneth Rohde Christiansen
>
Received on Wednesday, 2 October 2013 13:37:32 UTC

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