@@ -91,24 +91,35 @@ For [=paged media=], the initial containing block is based on the page area.
9191The page area can be set through ''@page'' rules.
9292
9393This specification introduces a way of overriding the size of the viewport
94- provided by the user agent (UA). Because of this, we need to introduce the
95- difference between the [=initial viewport=] and the [=layout viewport=] .
94+ provided by the user agent (UA). Because of this, we need to define [=initial viewport=] , [=layout viewport=] and [=visual viewport=] .
9695
9796<dl>
9897 <dt> <dfn>initial viewport</dfn> </dt>
9998 <dd>
10099 This refers to the viewport before any UA or author styles have
101100 overridden the viewport given by the window or viewing area of the UA.
102- Note that the [=initial viewport=] size will change with the
101+
102+ Note: The [=initial viewport=] size will change with the
103103 size of the window or viewing area.</dd>
104104 <dt> <dfn>layout viewport</dfn> </dt>
105105 <dd>
106106 This is the viewport you get after processing the viewport
107107 <code> <meta></code> tag.
108108 </dd>
109+ <dt> <dfn>visual viewport</dfn> </dt>
110+ <dd>
111+ The portion of the layout viewport that is currently visible.
112+ This is the result of applying scale transform to its layout viewport.
113+ This transform is applied to the <a>canvas</a> of the <a>layout viewport</a> and does not affect its internal coordinate space.
114+ The magnitude of the scale transform is known as the <a>visual viewport</a> 's scale factor.
115+
116+ Note: The [=visual viewport=] can be smaller than the [=layout viewport=] .
117+ </dd>
109118</dl>
110119
111- ISSUE: Define visual viewport.
120+ Note: The scale transform of the [=visual viewport=]
121+ is often referred to as "pinch-zoom". Conceptually, this transform changes the size of the CSS <a>reference pixel</a> and changes the size
122+ of the layout viewport (inversally) proportionally so that it does not cause reflow of the page's contents.
112123
113124When the [=layout viewport=] cannot fit inside the window or
114125viewing area, either because the [=layout viewport=] is
0 commit comments