[webkit-dev] question about Viewport

Eric Zhou englefly at gmail.com
Thu Dec 2 07:28:45 PST 2010


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20101202/2fdd33fd/attachment.html>


More information about the webkit-dev mailing list