- From: Kenneth Christiansen <kenneth.christiansen@openbossa.org>
- Date: Mon, 9 Aug 2010 12:00:02 -0300
- To: Rune Lillesveen <rune@opera.com>
- Cc: www-style list <www-style@w3.org>
Hi there, Isn't the point in it being a meta tag that you know about the viewport before you do the first layout of the contents? Having it in CSS means that everyone can specify the viewport at different points in time and change it during runtime, like on rotation. Currently the viewport meta tag assumed portrait mode. height auto | device-width | device-height | desktop-width | <length> | <percentage> I think there is an error in the above, as desktop-width probably should be desktop-height. You should also consider adding the Android targetdpi extension. 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:00:35 UTC