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

[css-device-adapt] Avoid referring to Desktop

From: Kenneth Rohde Christiansen <kenneth.christiansen@gmail.com>
Date: Wed, 2 Oct 2013 15:12:30 +0200
Message-ID: <CAEC208sp1S3Zrh4acJ6AWmOJ-f-9BREwVr+zGLm5C1ktqcL=hg@mail.gmail.com>
To: www-style list <www-style@w3.org>
Cc: John Mellor <johnme@chromium.org>, Rick Byers <rbyers@chromium.org>, "Kostiainen, Anssi" <anssi.kostiainen@intel.com>
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:13:01 UTC

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