Re: CSS Viewport proposal

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
doesn't.

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

Cheers,
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

Received on Monday, 9 August 2010 15:51:15 UTC