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

Re: CSS Viewport proposal

From: Kenneth Rohde Christiansen <kenneth.christiansen@gmail.com>
Date: Tue, 10 Aug 2010 15:07:19 -0300
Message-ID: <AANLkTikx0YbdFywLUjzgXZ4pQGSb8vrA7YfM0qNO9rJB@mail.gmail.com>
To: Rune Lillesveen <rune@opera.com>
Cc: www-style list <www-style@w3.org>
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.

Maybe that is a useful note for the spec.

Kenneth

On Tue, Aug 10, 2010 at 3:01 PM, Kenneth Rohde Christiansen
<kenneth.christiansen@gmail.com> wrote:
> Regarding:
>
> ‘device-width’ The width of the screen in CSS pixels at scale factor 1.0.
>
> For the iPhone, Android etc, this is the width of the screen at PORTRAIT mode.
>
> Kenneth
>
> On Mon, Aug 9, 2010 at 10:25 AM, Rune Lillesveen <rune@opera.com> wrote:
>> Hi,
>>
>> If there's any interest - here's my attempt at specifying the functionality
>> of the viewport META tag in CSS syntax using an @viewport block:
>>
>>  http://people.opera.com/rune/TR/ED-css-viewport-20100806/
>>
>> The proposal includes a mapping from the viewport META syntax into the
>> proposed CSS syntax.
>>
>> We have not yet implemented the proposed CSS syntax, but we're updating
>> Opera's viewport META implementation to match this spec.
>>
>> The spec is based on the Safari/iPhone OS4 implementation and we have an
>> internal compliance test of 120+ test-cases for this spec that pass (all but
>> one) in the mentioned Safari version.
>>
>> --
>> Rune Lillesveen
>> Senior Core Developer / Architect
>> Opera Software ASA
>>
>>
>
>
>
> --
> Kenneth Rohde Christiansen
> Technical Lead / Senior Software Engineer
> Qt Labs Americas, Nokia Technology Institute, INdT
> Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
>
> http://codeposts.blogspot.com ﹆﹆﹆
>



-- 
Kenneth Rohde Christiansen
Technical Lead / Senior Software Engineer
Qt Labs Americas, Nokia Technology Institute, INdT
Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org

http://codeposts.blogspot.com ﹆﹆﹆
Received on Tuesday, 10 August 2010 18:08:06 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT