¡@

Home 

2014/10/15 ¤U¤È 10:15:50

iphone Programming Glossary: viewport's

Visual viewport vs Layout viewport on mobile devices

http://stackoverflow.com/questions/7344886/visual-viewport-vs-layout-viewport-on-mobile-devices

between CSS pixels and device pixels may assist in the understanding and answering of your questions. The layout viewport's dimensions are effectively the initial dimensions of the content in CSS pixels . The layout viewport is used to best determine.. can be shown on the screen in the maximally zoomed out mode I think he's alluding to the point that the layout viewport's dimensions are unchanging it will always be the same size irrespective of the current visual viewport. The visual viewport.. of the CSS pixels which naturally reduces the number of CSS pixels that can fit on the device. That's why the visual viewport's dimensions shrink when you zoom. The visual viewport cannot be any larger than the content on the page. The content's dimensions..