W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2009

Re: http://dev.w3.org/2006/waf/widgets/#the-widget-element height and width default values

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 14 Jan 2009 11:06:31 -0500
Message-ID: <496E0D87.9040100@mit.edu>
To: Kai Hendry <hendry@aplix.co.jp>
CC: public-webapps@w3.org, public-mwts <public-mwts@w3.org>

Kai Hendry wrote:
> Was wondering how you came up with 150x300 as the default size for a widget.

Possibly because that's the default size of a replaced element in CSS? 
And that's because that's how big iframes are by default in browsers, 
last I checked.

> Perhaps pixel definitions are scalable in reality nowadays by UAs and
> that's just an indicator of dimensions, 1:2?

These are CSS pixels, so they're a measurement of angle of arc; they 
don't necessarily quite match device pixels.  For example, at 200dpi a 
single CSS pixel will be 4 device pixels (a 2x2 square).

-Boris
Received on Wednesday, 14 January 2009 16:07:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:29 GMT