Re: [css-device-adaptation] New draft

On Tue, 19 Oct 2010 17:43:11 +0200, Simon Fraser <smfr@me.com> wrote:

> On Oct 19, 2010, at 4:10 AM, Rune Lillesveen wrote:
>
>> Could dpi values for zoom be an acceptable replacement for  
>> target-densityDpi?
>>
>> Examples:
>>
>>  /* Set the zoom factor so that there is a 1-1 relationship between  
>> physical and CSS pixels */
>>  @viewport {
>>    zoom: device-dpi
>>  }
>
> If you did this, you'd get different behavior on an iPhone 3Gs and an  
> iPhone 4 (which has the double-resolution Retina display). I don't think  
> that's the desired behavior. I'd suggest staying away from physical  
> pixels here.

Yes, that's the idea of the target-densityDpi extension if I understand it  
correctly. I'd be happy to leave it out, I'm just trying to understand why  
it's needed.

-- 
Rune Lillesveen
Senior Core Developer / Architect
Opera Software ASA

Received on Tuesday, 19 October 2010 19:57:52 UTC