[webkit-dev] question about Viewport

Kenneth Rohde Christiansen kenneth.christiansen at gmail.com
Thu Dec 2 07:38:12 PST 2010


The above link might help you understand how it works


On Thu, Dec 2, 2010 at 4:28 PM, Eric Zhou <englefly at gmail.com> wrote:
> Could anyone give some help to understand the concept of viewport meta tag?
> I got the introduction from apple developer site:
> http://developer.apple.com/library/safari/#documentation/appleapplications/reference/safariwebcontent/UsingtheViewport/UsingtheViewport.html
> In this introduction, Figure 3-7 makes me confused. The width of viewport
> (with scale=0.5) is the same as that of visible area, while width of
> viewport with scale = 1.5 is 1.5 times of visible area(shown by Figure 3-6).
> In my understanding, scale = [width of viewport]/[width of visible area],
> and hence, the width of viewport in Figure 3-7 should be half of width of
> visible area.
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Kenneth Rohde Christiansen
Senior Engineer
Application and Service Frameworks, Nokia Danmark A/S
Phone  +45 4093 0598 / E-mail kenneth.christiansen at gmail.com

http://codeposts.blogspot.com ﹆﹆﹆

More information about the webkit-dev mailing list