You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'viewport-fit' can set the size of the visual viewport.
225
+
The <dfn export><code>viewport-fit</code></dfn> property is recognized in the
226
+
[[css-viewport#viewport-meta]].
227
+
'viewport-fit' can set the size of the layout viewport.
226
228
227
-
<pre class=descdef>
228
-
Name: viewport-fit
229
-
For: @viewport
230
-
Value: auto | contain | cover
231
-
Initial: auto
232
-
Percentages: N/A
233
-
Computed value: as specified
234
-
</pre>
235
-
236
-
The initial layout viewport seen through the physical screen of the device.
237
229
On rounded screen, the part of the page that’s currently shown on-screen is round but
238
230
the viewport is rectangular.
239
231
Because of this, depending on the size of the viewport, some part of the page may be clipped.
@@ -245,7 +237,7 @@ Because of this, depending on the size of the viewport, some part of the page ma
245
237
</figcaption>
246
238
</figure>
247
239
248
-
'viewport-fit' can control the clipped area by setting the size of the visual viewport.
240
+
'viewport-fit' can control the clipped area by setting the size of the layout viewport.
249
241
250
242
Values have the following meanings:
251
243
@@ -293,10 +285,8 @@ If it have to be guaranteed that any part of the web page isn’t hidden, avoidi
293
285
294
286
When the 'viewport-fit' is specified with <a href="#valdef-viewport-fit-contain">contain</a>, the initial viewport is applied to the largest inscribed rectangle of the display.
@@ -308,16 +298,16 @@ If it have to be guaranteed that any part of the web page isn’t hidden, avoidi
308
298
309
299
When <a href="#valdef-viewport-fit-cover">cover</a> is given to the 'viewport-fit', the initial viewport is applied to the circumscribed rectangle of the display.
0 commit comments