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: Marcos Caceres <marcosscaceres@gmail.com>
Date: Sat, 17 Jan 2009 16:20:27 +0000
To: Kai Hendry <hendry@aplix.co.jp>
CC: <public-webapps@w3.org>, public-mwts <public-mwts@w3.org>
Message-ID: <C597B5CB.3D34%marcosscaceres@gmail.com>


Hi Kai, 
On 1/14/09 4:06 PM, "Boris Zbarsky" <bzbarsky@MIT.EDU> wrote:

> 
> 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.

Exactly. 
 
>> 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).

That's my understanding too. I personally don't have much experience with
this stuff, so if anyone knows any good resources/literature I should be
looking at wrt device independence, please let me know.

Kind regards,
Marcos 
Received on Saturday, 17 January 2009 18:37:48 GMT

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