W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: CSS Viewport proposal

From: Rune Lillesveen <rune@opera.com>
Date: Wed, 11 Aug 2010 10:38:53 +0200
To: "Kenneth Rohde Christiansen" <kenneth.christiansen@gmail.com>
Cc: "www-style list" <www-style@w3.org>
Message-ID: <op.vg9ma3so8isf1p@id-c1005.oslo.osa>
On Tue, 10 Aug 2010 20:07:19 +0200, Kenneth Rohde Christiansen  
<kenneth.christiansen@gmail.com> wrote:

> 8. If maximum-scale is ‘auto’, set maximum-scale = 5, and
> minimum-scale = MIN(5, minimum-scale)
> I beleive that the default max on the iPhone is 1.6. I personaly had
> to up that to 1.8 due to that being out aspect radio. If I didn't do
> that, making the same area visible (but zoomed in) after rotation from
> portrait to landscape wasnt possible. The iPhone applies or substracts
> this extra zoom when being rotated IF that is possible given the scale
> restrictions.

Testing iPhone OS 4 (see proposal for exact version), gives me a default  
maximum-scale value of 5. It has most likely been different in previous  
versions, which also Apple's documentation suggests.

For instance, I've tried to load this in portrait mode and then flip it  
into landscape which still shows the page zoomed in (scale factor of 2.4):

<meta name="viewport" content="width=200">

> Maybe that is a useful note for the spec.

It should probably say something about re-evaluation of used values if  
device-width/device-height/available-width/available-height changes, yes.

Rune Lillesveen
Senior Core Developer / Architect
Opera Software ASA
Received on Wednesday, 11 August 2010 08:39:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:37 UTC