W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

[widgets] VMMF, Meta Viewport, and Width and Height.

From: Marcos Caceres <marcosscaceres@gmail.com>
Date: Fri, 24 Jun 2011 13:12:17 +0200
Message-ID: <BANLkTikVedugXhathuY=5i8=5rnzEZgUBA@mail.gmail.com>
To: public-webapps <public-webapps@w3.org>
Cc: Robin Berjon <robin.berjon@gmail.com>
The View Mode Media Feature is commonly used with the device adaption
spec [1]. What would be quite useful would be a way of making <meta
viewport> respect  the widget's width and height (as declared in the
widgets config.xml). My proposal would be to introduce "widget-width"
and "widget-height" to be used as follows:

<meta name="viewport" content="height=widget-height,width=widget-width">

The use case: better control of virtual viewport so it always matches
the desired size of the widget author.

[1] http://dev.w3.org/csswg/css-device-adapt/

Marcos Caceres
Received on Friday, 24 June 2011 11:13:12 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:32 UTC