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

Re: CSS Viewport proposal

From: Kenneth Christiansen <kenneth.christiansen@openbossa.org>
Date: Mon, 9 Aug 2010 12:50:43 -0300
Message-ID: <AANLkTikmZ=95mOtFNSavZbOWCuLEqj-pFb9vhzt_5Fsp@mail.gmail.com>
To: Rune Lillesveen <rune@opera.com>
Cc: www-style list <www-style@w3.org>, Eduardo Fleury <eduardo.fleury@openbossa.org>
Hi again,

You seem to be missing the fit-to-contents part. Try opening
www.uol.com.br on the iPhone. As it has no viewport tag, 980 is
assumed as the layout width, but as the contents is 990 in width, the
iPhone actually modifies the scale value to fit to contents.

As I said in private email, I have some tests that I would like to
contribute, nothing like your 120 tests, but I at least have two cases
where the iPhone shown inconsistent behavior which my implementation

I'm also happy contributing our current code so that you can compare
the algorithm.


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
Received on Monday, 9 August 2010 15:51:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:49 UTC